Expand description
Provides shadow cascade configuration and construction helpers.
Structs§
- Cascade
- A single cascade of a view’s shadow map cascade. Several of these are used to cover most of the view to ensure most geometry gets shadows, with some overlap for blending at cascade transitions. Farther away cascades are larger and have a lower effective shadowmap texel per world unit resolution. All cascades have the same pixel dimensions however.
- Cascade
Shadow Config - Controls how cascaded shadow mapping works.
Prefer using
CascadeShadowConfigBuilderto construct an instance. - Cascade
Shadow Config Builder - Builder for
CascadeShadowConfig. - Cascades
- A
DirectionalLight’s per-view list ofCascades.
Functions§
- build_
directional_ light_ cascades - Sets up
Cascadesfor all shadow mappedDirectionalLights.