Version: 2022.3
언어: 한국어
public void AddDirectionalLight (Vector3 direction, Color color, float intensity);

파라미터

direction The direction from the light probe to the light. The vector should be normalized for correct results.
color The color of the light.
intensity The intensity of the light.

설명

Add a directional light to the spherical harmonics.

If the spherical harmonics represent a light probe, this function adds a directional light into the light probe data.