Builtin Library
- ..
- README.md651 B
- module.wgsl2.1 KB
README.md
atmo_skyview_lookup
Reads the sky-view table: the sky's radiance in any direction from the camera
being drawn, as the frame's atmo_skyview pass integrated it for that camera's
altitude and sun. Below the horizon it is the sunlit ground seen through the
air.
sample_skyview(r, dir, up, sun_dir): the raw radiance alongdirfrom a camera at radiusrkilometres, before the sky's exposure (expose).
Included with #include "@builtin::systems.atmosphere.atmo_skyview_lookup"
after atmo_common, by the physical sky and by the cloud layer, whose clouds
take this sky as the light around them. The including shader binds
skyview_lut.