Builtin Library
- ..
- README.md645 B
- bindings.yaml506 B
- shader.wgsl3.7 KB
README.md
ibl_apply
Applies the filtered environment to the scene: diffuse from the irradiance map, specular from the prefiltered mips.
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.