Builtin Library
- ..
- .metadata219 B
- README.md1.1 KB
- mat.yaml551 B
- preview.png3.5 KB
README.md
Sky Equirectangular
An equirectangular panorama sky/environment background built on @builtin::shaders.equirect_sky. Renders with no culling and no depth write behind all geometry (queue 1000), with adjustable rotation and exposure. Assign an equirectangular image to sky_texture (via material.setTexture or a Skybox) to display a panorama.
Inputs
-
textures.sky_texture— the equirectangular panorama image to sample. Falls back to black, so a sky with nothing assigned reads as night rather than as an error. Assign a.textureby guid, identity, name, or path:renderer.material.setTexture("@builtin::materials.sky_equirect", "sky_texture", "my_panorama.texture")An image dropped into
/zero/sourceimports into a sibling<stem>.texturecontainer and the loose file is removed, so reference the container (or its identity) rather than the original image path. -
floats.rotation(0.0) — yaw rotation of the panorama around the vertical axis. -
floats.exposure(1.0) — brightness multiplier applied to the sampled colour.