Skip to main content

Module propagate

Module propagate 

Source

Structs§

PropagationConfig
Configuration for light propagation.
SHCoeffs
SH coefficients for propagation (2nd order, 9 coefficients).

Constants§

PROPAGATE_COMP_SRC
Embedded compute shader for GPU propagation.

Functions§

flux_through_face
Compute outgoing flux through a face based on SH-weighted radiance.
gather_from_neighbors
Gather incoming light from 6 neighbors.
propagate_hierarchical
Propagation on octree levels (hierarchical).
propagate_light
Run multiple iterations of light propagation on a voxel grid.
propagate_step
Single propagation step: read from source grid, write to dest grid.