probegi_sync.computeShader
- README.md716 B
- bindings.yaml563 B
- shader.wgsl2.4 KB
This package holds more than this page lists. See all of its files in its world.
README.md
probegi_sync
Runs at the start of every frame the probe field updates on, before the clock moves on: one workgroup per probe the frame before updated copies that probe's irradiance tile and drift, and, where its distance moments updated too, its distance tile and drift, from the copy of the field the frame before wrote into the copy the frame's passes read. The schedule still lists the probes the frame before updated, and the flags which of them updated their moments, so the two copies of the field hold the same field again before this frame's passes read one and write the other. The field's passes bind the same textures on every frame, so its member hands the engine the same passes from frame to frame.