docs.unity.cn
    Show / Hide Table of Contents

    Enum DebugMaterialMode

    Debug material modes.

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

    Fields

    Name Description Value
    None

    No material debug.


    0
    Albedo

    Display material albedo.


    1
    Specular

    Display material specular.


    2
    Alpha

    Display material alpha.


    3
    Smoothness

    Display material smoothness.


    4
    AmbientOcclusion

    Display material ambient occlusion.


    5
    Emission

    Display material emission.


    6
    NormalWorldSpace

    Display material normal (world space).


    7
    NormalTangentSpace

    Display material normal (tangent space).


    8
    LightingComplexity

    Display evaluated lighting complexity.


    9
    Metallic

    Display material metallic.


    10
    SpriteMask

    Display material sprite mask.


    11
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 August 2023