ibl_apply.computeShader
- README.md790 B
- bindings.yaml546 B
- shader.wgsl4.7 KB
This package holds more than this page lists. See all of its files in its world.
README.md
ibl_apply
Computes the filtered environment's light on the scene: diffuse from the irradiance map, specular from the prefiltered mips. ibl_out holds that light alone, which the feature adds to the frame, so a frame the pass does not reach is left as the scene drew it.
Includes
ibl_common
Bindings
| name | kind |
|---|---|
scene_color | texture2d |
scene_depth | texture_depth |
scene_normal | texture2d |
scene_material | texture2d (sample: uint) |
frame_cam | buffer |
ibl_params | buffer |
irradiance_map | texture2d |
specular_map | texture2d |
ibl_out | storage2d (rgba16f) |
ibl_out holds linear light, which the diffuse and specular IBL terms can carry past 1.0 — an 8-bit target would clamp it.