docs.unity.cn
    Show / Hide Table of Contents

    Enum DebugLightingMode

    Full Screen Lighting Debug Mode.

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [GenerateHLSL(PackingRules.Exact, true, false, false, 1, false, false, false, -1, "C:\\temp\\com.unity.render-pipelines.high-definition@11.0\\Packages\\com.unity.render-pipelines.high-definition\\Runtime\\Debug\\LightingDebug.cs")]
    public enum DebugLightingMode

    Fields

    Name Description Value
    None

    No lighting debug mode.

    0
    DiffuseLighting

    Display only diffuse lighting.

    1
    SpecularLighting

    Display only specular lighting.

    2
    DirectDiffuseLighting

    Display only direct diffuse lighting.

    3
    DirectSpecularLighting

    Display only direct specular lighting.

    4
    IndirectDiffuseLighting

    Display only indirect diffuse lighting.

    5
    ReflectionLighting

    Display only reflection.

    6
    RefractionLighting

    Display only refraction.

    7
    EmissiveLighting

    Display only Emissive lighting.

    8
    LuxMeter

    Display lux values.

    9
    LuminanceMeter

    Display luminance values.

    10
    MatcapView

    Disable scene lightings and replaces it with a pre-computed lighting environment.

    11
    VisualizeCascade

    Display Directional Shadow Cascades splits.

    12
    VisualizeShadowMasks

    Display Shadow Masks.

    13
    IndirectDiffuseOcclusion

    Display indirect diffuse occlusion.

    14
    IndirectSpecularOcclusion

    Display indirect specular occlusion.

    15
    ProbeVolume

    Display Probe Volumes.

    16
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 18 October 2021