skyLight_apply.computeShader
- README.md433 B
- bindings.yaml591 B
- shader.wgsl4.6 KB
This package holds more than this page lists. See all of its files in its world.
README.md
skyLight_apply
Adds the captured sky's light to every lit surface: the diffuse term from the
irradiance map and the reflection from the prefiltered bands, each scaled by its
strength and by the share of the sky the surface sees. The sky_occlusion
picture holds that share per pixel, red over the surface's hemisphere and green
along its mirror direction; a picture holding 1 everywhere leaves both terms as
the sky states them.