docs.unity.cn
    Show / Hide Table of Contents

    Enum DebugLightingMode

    Debug modes for lighting.

    Namespace: UnityEngine.Rendering.Universal
    Syntax
    [GenerateHLSL(PackingRules.Exact, true, false, false, 1, false, false, false, -1, "C:\\temp\\com.unity.render-pipelines.universal@12.0\\Packages\\com.unity.render-pipelines.universal\\ShaderLibrary\\Debug\\DebugViewEnums.cs")]
    public enum DebugLightingMode

    Fields

    Name Description Value
    None

    No lighting debug mode.

    0
    ShadowCascades

    Display shadow cascades using different colors.

    1
    LightingWithoutNormalMaps

    Display lighting result without applying normal maps.

    2
    LightingWithNormalMaps

    Display lighting result (including normal maps).

    3
    Reflections

    Display only reflections.

    4
    ReflectionsWithSmoothness

    Display only reflections with smoothness.

    5
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 24 September 2021