probegi_schedule.computeShader
- README.md811 B
- bindings.yaml407 B
- shader.wgsl2.7 KB
This package holds more than this page lists. See all of its files in its world.
README.md
probegi_schedule
The first of the four passes that list the probes the frame's other passes work
on: one invocation per probe decides whether the probe wants to update this
frame (on its cascade's turn, or because it wanted to the frame before and was
left out) and under which key (gi_priority_key: a probe whose cell entered the
grid, then the young probes, then the others by how late and how near the viewer
they are), counts the probes under each key in a histogram, and writes the probe
store of the frame: every probe's place as the frame before left it, with the
sleep its turn is decided by. A sleeping probe wakes there (gi_sched_wake) where
the settings or the sky changed, where probegi_changes lists a sphere that
reaches it, and where a probe beside it is hot. probegi_count runs next.