docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum DebugMaterialMode

    Debug material modes.

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

    Fields

    Name Description
    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)