shadowMap property

Texture? get shadowMap

The shared shadow atlas (square tiles, window-space depth in the red channel, stored top-down): the directional cascades in a grid at its top-left corner (see shadowInfo), one tile per casting spot (see spotShadows), and the point lights' cube faces. Non-null when the pass declared RenderInput.shadowMap and a light cast this frame. Pair with shadowInfo for the cascades.

Implementation

gpu.Texture? get shadowMap =>
    _context.blackboard.get<gpu.Texture>(kShadowMapBlackboardKey);