example_probe_gi.sceneSetup
- .metadata216 B
- README.md846 B
- sceneSetup.yaml346 B
This package holds more than this page lists. See all of its files in its world.
README.md
Example: probe global illumination
An example scene setup. It composes one directional light, a sky light and the probe field, which is where the sky's diffuse light is occluded.
What it demonstrates: the field's rays that leave the scene return the sky the
sky light captured (skySource), so the sky's light reaches a surface through
what the probes see of it. The sky light states a diffuse strength of 0, because
the field carries the sky's diffuse light, and takes the field's picture of how
much sky each surface sees (occlusionSource) to scale its reflection. The key
light lights surfaces directly, and the field carries the light those surfaces
send on.
Its assets are in this folder: key.sceneLight; the sky light and the probe
field are the library's @builtin::systems.sky.skyLight and
@builtin::systems.probeGI.probeGI.