Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit44fd9e59bd

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 .texture by guid, identity, name, or path:

    renderer.material.setTexture("@builtin::materials.sky_equirect",
        "sky_texture", "my_panorama.texture")
    

    An image dropped into /zero/source imports into a sibling <stem>.texture container 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.