This version of Unity is unsupported.

SphericalHarmonicsL2.AddDirectionalLight

Declaration

public void AddDirectionalLight(Vector3 direction, Color color, float intensity);

Description

Add directional light to probe data.

If SH probe is used to calculate lighting, this function has the effect of adding directional light into probe data.