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

    Class Fog

    This class holds settings for the Fog effect with the deferred rendering path.

    Inheritance
    Object
    Fog
    Namespace: UnityEngine.Rendering.PostProcessing
    Syntax
    [Serializable]
    public sealed class Fog

    Fields

    enabled

    If true, enables the internal deferred fog pass. Actual fog settings should be set in the Lighting panel.

    Declaration
    public bool enabled
    Field Value
    Type Description
    Boolean

    excludeSkybox

    Should the fog affect the skybox?

    Declaration
    public bool excludeSkybox
    Field Value
    Type Description
    Boolean
    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