Skip to main content

Module mat

Module mat 

Source
Expand description

The view and orthographic-projection builders the shadow passes share (csm.rs for the directional cascades, spot_shadow.rs for the spot slices). Right-handed with depth mapped to [0, 1], matching concinnity_core::gfx::projection, so the matrices built here are valid for every backend’s shadow sampling.

Constants§

IDENTITY4
The 4x4 identity, column-major.