docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Fog

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

    Inheritance
    object
    Fog
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.PostProcessing
    Assembly: Unity.Postprocessing.Runtime.dll
    Syntax
    [Preserve]
    [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
    [Tooltip("Enables the internal deferred fog pass. Actual fog settings should be set in the Lighting panel.")]
    public bool enabled
    Field Value
    Type Description
    bool

    excludeSkybox

    Should the fog affect the skybox?

    Declaration
    [Tooltip("Mark true for the fog to ignore the skybox")]
    public bool excludeSkybox
    Field Value
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)