SET THE FOG MAXIMUM DISTANCE IN THE 3D TARGET OBJECT (SCENE3D)
ACTION
The command FOG_DISTANCE_MAX D set the fog maximum distance in the 3D target object (SCENE3D): a 3D object at a distance from the camera greater than D is not seen.
Bu default, the distance is 1000.
SYNTAX:
FOG_DISTANCE_MAX D
USE ERROR EXAMPLE
scene3d 1:full_space 1
3d_sphere 1,10
3d_z_position 1,-500
wait 1000
fog_on:caption 0,"FOG_ON"
wait 1000
fog_off:caption 0,"FOG_OFF"
wait 1000
fog_on
fog_color 220,220,220
fog_distance_max 700
fog_distance_min 5
caption 0,"FOG_ON"
FOG_DISTANCE_MAX
FOG_DISTANCE_MAX D
SEE ALSO
FOG_DISTANCE_MIN
FOG_COLOR
FOG_ON
FOG_OFF