Builtin Library
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. It spawns the canonical sun and ambient entities when the scene has none and swaps the sky and clear color to match, leaving the scene in the requested lighting state.