LightRenderMode
How the Light is rendered.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public enum LightRenderMode
Remarks
In the Universal Render Pipeline (URP), this setting doesn't control whether a light is rendered per vertex or per pixel. In the URP Forward rendering path, set Lighting > Additional Lights in the URP Asset to render all additional lights per vertex or per pixel. Other URP rendering paths render all lights per pixel.
Additional Resources: light component.
Fields
Value | Description |
|---|---|
| Auto | Automatically choose the render mode. |
| ForcePixel | Force the Light to be a pixel light. |
| ForceVertex | Force the Light to be a vertex light. |