Skip to main content

Module atlas_cube

Module atlas_cube 

Source
Expand description

Cube shadow atlas — point lights.

Owns the texture_depth_cube_array atlas the lane samples for omnidirectional shadow casters. Six layers per shadow-casting point light (one per cube face).

The dimensions are passed in by the lane — different quality tiers pick different face_resolution and max_cubes; the algorithm is identical.

Structs§

AtlasCube
Cube atlas resources — owned by whichever shadows lane created it.

Functions§

collect_passes
Records six shadow passes for one point light (one per cube face).