You copied the Doc URL to your clipboard.

About fog effects

In the real world, the further you look in the distance the more colors fade. It does not have to be foggy for you to see this effect, you can also see it on sunny days and it is especially visible when looking at mountains.

This is very common in real life, so adding this effect to your game adds to the sense of realism.

This section describes two versions of the fog effect:

  • Procedural linear fog.

  • Particle-based fog.

You can apply both of these effects simultaneously. The Ice Cave demo uses both techniques.

Was this page helpful? Yes No