spotShadows property

SpotShadowInfo? get spotShadows

The spot shadows' place in shadowMap (their matrices and tiles), or null when no spot cast this frame. Spot tiles share the atlas with the directional cascades, so a pass that samples spot shadows declares RenderInput.shadowMap and reads the atlas from shadowMap.

Implementation

SpotShadowInfo? get spotShadows =>
    _context.blackboard.get<SpotShadowInfo>(kSpotShadowInfoBlackboardKey);