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, "/Users/robje/Library/Application Support/unity/editor/documentation/build/com.unity.render-pipelines.universal@13.1/Packages/com.unity.render-pipelines.universal/ShaderLibrary/Debug/DebugViewEnums.cs")]
    public enum DebugMaterialMode

    Fields

    Name Description Value
    Albedo

    Display material albedo.

    Alpha

    Display material alpha.

    AmbientOcclusion

    Display material ambient occlusion.

    Emission

    Display material emission.

    LightingComplexity

    Display evaluated lighting complexity.

    Metallic

    Display material metallic.

    None

    No material debug.

    NormalTangentSpace

    Display material normal (tangent space).

    NormalWorldSpace

    Display material normal (world space).

    Smoothness

    Display material smoothness.

    Specular

    Display material specular.

    SpriteMask

    Display material sprite mask.

    Back to top
    Terms of use
    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