OptionalcascadeRatio between uniform and logarithmic split (0.0 = uniform, 1.0 = logarithmic). Defaults to 0.5.
OptionalcastWhether the light casts shadows. Defaults to false.
OptionalcolorThe color of the light. Defaults to white.
OptionaldirectionThe direction of the light. Defaults to (0, -1, 0).
OptionalintensityThe intensity of the light. Defaults to 1.0.
OptionalnameThe name of the light object. Defaults to "Light".
OptionalnumNumber of shadow cascades. Defaults to 4.
OptionalshadowA small offset to prevent shadow acne. Defaults to 0.005.
OptionalshadowAn offset along the surface normal to prevent shadow acne. Defaults to 0.0.
OptionalshadowThe resolution of the shadow map for this light. Defaults to 512.
Configuration options for directional light.