Creates a new DirectionalLight.
The configuration options for the light.
The shadow cameras for each cascade.
Ratio between uniform and logarithmic split.
The far depth split distances for each cascade.
Whether the light casts shadows.
The color of the light.
The direction of the light.
The intensity of the light.
Number of shadow cascades.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonA small offset to prevent shadow acne.
The camera used to render the shadow map for this light.
An offset along the surface normal to prevent shadow acne.
The resolution of the shadow map for this light.
ReadonlytypeThe type of the light.
ReadonlyuuidApplies the light's data to the collective light data structure.
The structure to populate.
Updates the shadow cascades based on the main camera's frustum.
The main camera interface data.
Directional light that emits light in a specific direction.