The Lighting container services let you control and customize an experience's environment such as lighting, atmosphere, and clouds. You can also apply post-processing effects to adjust how the experience appears on the screen.
Global Lighting
The Lighting service contains properties that you can adjust to update the global lighting in an experience, such as the ClockTime and Brightness.
Atmospheric Effects
Atmospheric effects simulate realistic environments by scattering sunlight in unique ways. Using the Atmosphere object in the Lighting service, you can control air particle density, simulate haze or glare, set an atmosphere's color, and more.
Clouds and Skies
By default, the Sky object forms a skybox with celestial bodies such as a sun, moon, and stars. In addition, you can adjust the cloud cover, density, and color properties of the Clouds object to render realistic, dynamic clouds that drift slowly across the sky through global wind.
Post-Processing Effects
Post-processing effects are customizable filters that allow you to quickly enrich the visuals of your experience. Using the post-processing effect objects in the Lighting service or Camera, you can:
- Simulate a camera viewing a bright light and exaggerate its glow (bloom).
- Apply a Gaussian blur to the entirety of your experience or add a blur to parts of your experience that aren't in focus (depth‑of‑field).
- Enhance an environment's appearance to create a specific mood through hue (color correction).
- Render a halo of light that moves with the sun (sun rays).