Builtin Library
- ..
- README.md707 B
- bindings.yaml269 B
- shader.wgsl3.1 KB
README.md
probegi_aim
Chooses, once per probe update, the emitters the probe aims rays at: one
invocation per probe. Of the emitters the list probegi_emitters wrote holds,
it takes the ones the probe stands outside the bounding sphere of and whose
sphere the probe's own rays would meet fewer times an update than
raysPerEmitter, up to aimedEmitters, the ones that send the probe the most
light into the cone their sphere fills. It writes their places in the list into
the aim store, two texels per probe (eight places, -1 where none), which the
trace reads for the probe's emitter rays and for its own rays that meet an
emitter. A probe the schedule does not list as updating this frame keeps what it held.