firstCascadeFarBound property

double? firstCascadeFarBound
getter/setter pair

View distance, in world units, at which the first cascade ends. null (the default) lets shadowCascadeSplitLambda place it.

Pin it to hold a known resolution over the near field, for example the reach of a third-person camera, and let the rest of the range spread across the remaining cascades under the usual split scheme. A pin below the camera near plane is lifted just above it so cascade 0 keeps thickness; a pin at or past shadowMaxDistance is ignored and the automatic scheme runs, since it would collapse every later cascade onto the far bound. Also ignored when there is only one cascade (it already ends at shadowMaxDistance). Automatic bounding-sphere fitting and texel snapping still apply.

Implementation

double? firstCascadeFarBound;