To add fog to the scene:
Type | Description |
---|---|
Linear | Specifies the distance at which fog should start and end. |
Exponential | Fog = e -(density * z) where z represents the range or distance from the camera. The range should lie within the realm of the near and far clipping planes. The minimum value is 1. |
Exponential2 | Fog = e -(density * z)2. The exponential types provide more depth, more natural looking fog, and make the edges appear smoother. |
Typically, the fog colour should match the background colour of the image in the scene.