Use camera.fog_start and camera.fog_end to control the distance.