Shadow options a light takes, in one of two placements
A fixed box (LightShadowBoundsOptions) is the default: one shadow map over the scene's
shadow casters, or over the bounds you give. Cascades (LightShadowCascadesOptions)
follow the camera instead. Passing bounds and cascades together is a type error. Fields
left out take their defaults. Only read while castShadow is
true.
Shadow options a light takes, in one of two placements
A fixed box (LightShadowBoundsOptions) is the default: one shadow map over the scene's shadow casters, or over the
boundsyou give. Cascades (LightShadowCascadesOptions) follow the camera instead. Passingboundsandcascadestogether is a type error. Fields left out take their defaults. Only read while castShadow istrue.