Log inGet started
Package

probeGI.package

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

probegi_irradiance

Folds a frame's rays into the irradiance atlas. Each texel of a probe's 8 x 8 octahedral tile (10 x 10 with its border) stands for one direction; its new value is the cosine-weighted average of the radiance of the rays leaving near that direction, which is the irradiance over pi a surface facing it receives. The value blends into the texel's previous one by the hysteresis and takes the lower hysteresis where the texel changed by more than the change threshold. A probe whose cell entered the field this frame starts from what the next coarser cascade holds at its position (trilinear over the eight coarser probes around it, each read in the same direction) in place of the previous value; the coarsest cascade has no coarser one, so its entering probe takes the rays outright.