YoYo Games Wiki

d3d_set_fog(enabled,color,start,end)

From YoYoGames Wiki

Description

Used to set the fog in the 3D environment.

Arguments

  • enabled
  • color
  • fog start
  • fog end

Details

The fog start indicates the radius relative to the viewpoint where the fog starts. The fog end indicates at which radius (also relative) objects will be completely invisible.

Remarks

Requires a registered (pro) copy of Game Maker.