sceneLighting.package
- .metadata219 B
- README.md997 B
- dynamicLighting.sceneSetup
- dynamicLightingShowcase.scene
- dynamicMoon.sceneLight
- dynamicSky.sky
- dynamicSun.sceneLight
- package.yaml402 B
This package holds more than this page lists. See all of its files in its world.
README.md
sceneLighting
Scene setups that light a whole scene with the engine's real-time lighting in one placement, and a scene that shows them.
dynamicLighting.sceneSetup: a sky whose hour drives a sun and a moon, the sky light, ray-traced probe global illumination, ambient occlusion, contact shadows, height fog, exposure that adapts from day to night, temporal anti-aliasing and screen-space reflections. Its sky, sun and moon are the assets beside it:dynamicSky.sky,dynamicSun.sceneLightanddynamicMoon.sceneLight.dynamicLightingShowcase.scene: a cottage in a garden lit bydynamicLighting, with a room lit through its windows, lamps inside and out, trees and bushes, a glossy terrace and a mirror ball.
Place the setup in any scene:
asset.resolve("@builtin::systems.sceneLighting.dynamicLighting", "sceneSetup")
:instantiate(nil, { name = "lighting" })
and set sky/backdrop/timeOfDay on the placement to move the scene between day
and night.