shadowMap property

Texture? get shadowMap

The directional light's cascaded shadow map atlas (a horizontal strip of shadowInfo cascade tiles, window-space depth in the red channel). Non-null when the pass declared RenderInput.shadowMap and the scene has a shadow-casting directional light. Pair with shadowInfo.

Implementation

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