Deferred Fog | Post Processing | 2.3.0
docs.unity3d.com
    Show / Hide Table of Contents

    Deferred Fog

    The Fog effect overlays a color onto objects depending on how far away they are from the Camera.

    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 are on the Scene tab of the Lighting window (menu: Window > Rendering > Lighting Settings).

    Properties

    Property Function
    Enabled Enable this checkbox to turn the Deferred Fog effect on.
    Exclude Skybox Enable this checkbox to exclude fog from the skybox

    Details

    The Fog effect only appears in your Post-process Layer if the camera is set to render with the Deferred rendering path. It is enabled by default and adds the support of Fog from the Lighting panel (which would otherwise only work with the Forward rendering path).

    Requirements

    • Depth texture
    • Shader Model 3

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

    In This Article
    • Properties
    • Details
    • Requirements
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023