Start and end range for fog.
There won't be any fog closer than fog_start; the
world will be all foggy beyond fog_end. This way
a very sharp fog boundary can be given, for instance for completely hiding
999999 (default: fog_start = 100, fog_end= 1000)
Fog can be activated through the fog_color variable.
- Ancient 3D cards like Voodoo or early Radeon do not
support fog ranges.
Old 3D cards only support vertex based fog
that can produce artifacts.
If the view rotates, the apparent fog effects on stationary polygons can
change, resulting in different 'foggyness' of objects dependent
on the view angle. Newer 3D cards support range based fog which eliminates
those artifacts. Range based fog is automatically activated when
the 3D hardware supports it.
camera.fog_start = 0.8 * camera.clip_far; // fog starts at 80% of clip range
camera.fog_end = 0.9 * camera.clip_far; // total foggy at 90% of clip range
VIEW, fog_color, d3d_fogcolor, vecFog, vecFogColor