GM: d3d set fog

From GMpedia.org Wiki

Jump to: navigation, search

d3d_set_fog
 

Type: function
Arguments: 1: enabled
2: color
3: fog start
4: fog end
Limitations: Registered
The correct title of this article is d3d_set_fog(). It appears incorrectly here because of technical restrictions.

The function d3d_set_fog is a d3d function in Game Maker used to set the fog in the 3D environment. When it is enabled, it has a color. 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.

Personal tools