Fog(Color, Intensity, StartDistance, EndDistance)Description
Creates a fog at the specified distance of the camera. The fog effect is applied to all cameras. The fog is also applied automatically to the SkyBox() and SkyDome() commands if called before them.
Color The fog color. RGB() can be used to get a valid color value. Intensity The fog intensity. If sets to zero, the fog effect is disable. StartDistance The distance from the camera (in world units) where the fog should start. EndDistance The distance from the camera where the fog is fully opaque.