probeGI.package
- package.yaml14 B
- probeGI.renderFeature
- probe_gi.shaderModule
- probe_gi_common.shaderModule
- probegi_apply.computeShader
- probegi_classify.computeShader
- probegi_irradiance.computeShader
- probegi_trace.computeShader
- probegi_visibility.computeShader
- readme.md1.3 KB
This package holds more than this page lists. See all of its files in its world.
readme.md
probeGI
Indirect diffuse light from a field of probes traced against the scene. The
probeGI render feature places probes on a grid that follows the camera, traces
rays from each every frame through the scene's acceleration structure, keeps each
probe's irradiance and distances as small octahedral maps blended over frames,
and adds the light those maps hold to every surface in view in a pass of its own.
probeGI.renderFeatureis the member a scene places.probegi_trace,probegi_classify,probegi_irradiance,probegi_visibilityandprobegi_applyare the passes it runs.probe_gi_commonandprobe_giare the shader modules the passes share.
The light the field adds takes the scene's occlusion channel (@scene.ao, which
an ambient occlusion member writes): each surface's light is scaled by the share
of its hemisphere the channel leaves open, raised by the multi-bounce fit for the
surface's colour. contactOcclusion states how much of that the field takes, 0
to 1; where no member writes the channel the light stands as the field states it.
The field resolves occluders at about its finest spacing and above, and the
occlusion channel those inside its radius, so a radius under half of
baseSpacing keeps the two from occluding the same geometry twice.