ForceVertex
Force the Light to be a vertex light.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
ForceVertex = 2
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.
This option is good for background or distant lighting. Additional Resources: light component.