View on GitHub

ezEngine Documentation

The documentation for ezEngine


By default a scene doesn’t have any fog. To enable fog, you need to place a game object in the scene and attach a fog component.

Fog Component

The fog component is used to apply simple depth-fog to the entire scene. The image below shows a scene without fog (left) with depth-fog (middle) and with an additional height-falloff (right):


The rotation and scale of the game object has no effect on the fog. The position is mostly irrelevant, except for the z-coordinate, which is used as the threshold if HeightFalloff is used.

See Also