STARTS THE FOG EFFECT IN THE 3D TARGET OBJECT (SCENE3D)
ACTION
The command FOG_ON starts the fog effect in the 3D target system object (SCENE3D) and re-initializes the fog parameters to the standard values.
Standard values: the fog is white, its minimal distance is 10 and its maximal distance is 1000.
The color can be changed by FOG_COLOR, the minimal distance by FOG_DISTANCE_MIN and the maximal distance by FOG_DISTANCE_MAX.
Remark: the fog effect is stopped by the command FOG_OFF.
SYNTAX:
FOG_ON
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
caption 0,"FOG_ON"
FOG_ON
FOG_ON
SEE ALSO
FOG_DISTANCE_MAX
FOG_DISTANCE_MIN
FOG_COLOR
FOG_OFF