readShadowRadius
readShadowRadius():
Node<"float">
Defined in: packages/three-flatland/src/materials/instanceAttributes.ts:77
Read the per-instance shadow-occluder radius from instanceExtras.x.
World units. Auto-resolved each frame to max(|scale.x|, |scale.y|)
by transformSyncSystem, overridable via Sprite2D.shadowRadius.
Shadow-casting LightEffects consume this value for algorithm- specific purposes — SDF sphere-tracers use it as the self-silhouette escape distance; future shadow maps would use it for depth bias; AO passes could use it for sample radius.
Returns
Section titled “Returns”Node <"float">