Skip to main content

Module cascade

Module cascade 

Source
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.
CascadeShadowConfig
Controls how cascaded shadow mapping works. Prefer using CascadeShadowConfigBuilder to construct an instance.
CascadeShadowConfigBuilder
Builder for CascadeShadowConfig.
Cascades
A DirectionalLight’s per-view list of Cascades.

Functions§

build_directional_light_cascades
Sets up Cascades for all shadow mapped DirectionalLights.