docs.unity.cn
    Show / Hide Table of Contents

    Enum ShEvalMode

    The type of Spherical Harmonics lighting evaluation in a shader.

    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public enum ShEvalMode

    Fields

    Name Description Value
    Auto

    Unity selects a mode automatically.


    0
    PerVertex

    Evaluate lighting per vertex.


    1
    Mixed

    Evaluate lighting partially per vertex, partially per pixel.


    2
    PerPixel

    Evaluate lighting per pixel.


    3
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023