Log inGet started
Package

sky.package

Newest version

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

README.md

skyLightSource

skyLightSource.read(source) answers the irradiance map a sky light (@builtin::systems.sky.skyLight) gathers and the diffuse strength it lights surfaces at, for a pass outside the sky light's own that the sky light lights: a participating medium, a height fog, the air the volumetric light marches. Each of those names its sky light in a skySource setting. An empty source, or one naming no live sky light, answers no map and a strength of 0, so a medium that names none takes no light from the sky; the pass then binds another texture in the map's place, which it leaves unread.

The pass binds the map and reads it with @builtin::systems.sky.skyLight_read.