docs.unity3d.com
    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@12.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
    • 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