Log inGet started
Package

atmo_skyview_lookup.shaderModule

Newest version

This package holds more than this page lists. See all of its files in its world.

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 along dir from a camera at radius r kilometres, 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.