Log inGet started
Package

radianceCache.package

Newest version

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

README.md

radiance_cache

The addressing of the world-space radiance cache, shared by every pass that touches it: which cell a point belongs to, how coarse that cell is at its distance from the camera, which of the six facings it is subdivided by, and the hash that turns all of that into a slot in a fixed table.

Also the lookup — the interpolation over the eight cells surrounding a point, rejecting the ones on another surface — and the reconstruction of a pixel's world position from the depth target.

A shader that includes it binds rc_params and rc_cells. The passes that insert also bind rc_keys as atomic<u32>, which this does not touch.