Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit44fd9e59bd

README.md

Sky Procedural

A fully procedural atmospheric sky with a day/night cycle, built on @builtin::shaders.procedural_sky. Renders with no culling and no depth write behind all geometry (queue 1000), computing gradient, sun, moon and stars analytically from its parameters — no texture required.

Inputs

  • properties.zenith_color / horizon_color / ground_color — the atmospheric gradient from overhead (0.1, 0.3, 0.6) through the horizon (0.5, 0.7, 1.0) to the ground (0.3, 0.25, 0.2).
  • properties.sun_intensity (20) / sun_size (0.02) — brightness and disc size of the sun.
  • properties.turbidity (4) — atmospheric haze / scattering density.
  • properties.stars_intensity (1) / moon_size (0.03) — night-sky star brightness and moon disc size.