AddDirectionalLight(Vector3, Color, float)
Add a directional light to the spherical harmonics.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public void AddDirectionalLight(Vector3 direction, Color color, float intensity)
Parameters
Remarks
If the spherical harmonics represent a light probe, this function adds a directional light into the light probe data.