Legacy Documentation: Version 5.6 (Go to current version)
Screen Space Reflection
Depth of Field
Other Versions

Fog

The effect descriptions on this page refer to the default effects found within the post-processing stack.

Fog is the effect of overlaying a color onto objects dependant on the distance from the camera. This is used to simulate fog or mist in outdoor environments and is also typically used to hide clipping of objects when a camera’s far clip plane has been moved forward for performance.

The Fog effect creates a screen-space fog based on the camera’s depth texture. It supports Linear, Exponential and Exponential Squared fog types. Fog settings should be set in the Scene tab of the Lighting window.

Scene with Fog
Scene with Fog
Scene without Fog.
Scene without Fog.
UI for Fog
UI for Fog

Properties

Property: Function:
Exclude Skybox Should the fog affect the skybox?

Details

This effect is only applied in the deferred rendering path. When using either rendering path fog should be applied to forward rendered objects using the Fog found in Scene Settings. The parameters for the Post-processing fog are mirrored from the Fog parameters set in the Scene tab of the Lighting window. This ensures forward rendered objects will always receive the same fog when rendering in deferred.

Requirements

See the Graphics Hardware Capabilities and Emulation page for further details and a list of compliant hardware.


Screen Space Reflection
Depth of Field