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 |