I think you are mixing up the classic fog that just depends on depth with volumetric fog which is a global effect that interacts with light.
I think you are mixing up the classic fog that just depends on depth with volumetric fog which is a global effect that interacts with light.