Log inGet started
Package

setup.tool

Newest version

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

README.md

lighting.setup

Sets the whole lighting environment in one call — directional sun, ambient light, sky, and clear color — with every field optional so only the ones you provide change. On a scene lit by a placed scene setup, the sun, ambient and sky values land on the setup's own members as that placement's overrides; on a scene with none, it writes the scene's own sun and ambient light entities, spawning them when the scene has none, and swaps the sky and clear color to match, leaving the scene in the requested lighting state.