FOG_OFF

FOG_OFF

STOPS THE FOG EFFECT IN THE 3D TARGET OBJECT (SCENE3D)

  • Type: Command
  • Parameter: 0
  • Group: 3D Objects

ACTION

The command FOG_OFF stops the fog effect in the 3D target system object (SCENE3D).

Remark: the fog effect is started by the command FOG_ON.

SYNTAX: FOG_OFF

USE

  • The command FOG_OFF is used to stop the fog effect.

ERROR

  • If no SCENE3D is created.

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"

SEE ALSO

FOG_DISTANCE_MAX

FOG_DISTANCE_MIN

FOG_COLOR

FOG_OFF