docs.unity3d.com
    Show / Hide Table of Contents

    Enum DebugLightingFeatureFlags

    Debug mode that allows selective disabling of individual lighting components.

    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")]
    [Flags]
    public enum DebugLightingFeatureFlags

    Fields

    Name Description Value
    None

    The debug mode is not active.

    0
    GlobalIllumination

    Display contribution from global illumination.

    1
    MainLight

    Display contribution from the main light.

    2
    AdditionalLights

    Display contribution from additional lights.

    4
    VertexLighting

    Display contribution from vertex lighting.

    8
    Emission

    Display contribution from emissive objects.

    16
    AmbientOcclusion

    Display contribution from ambient occlusion.

    32
    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