Lighting and Effects

*Ta zawartość będzie dostępna wkrótce w wybranym przez ciebie języku.

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.

Lighting with ClockTime of 0 (TimeOfDay of 00:00:00)

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.

Atmospheric effects used to render a brilliant sunset scene
Atmospheric effects used to render a brilliant sunset scene

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.

Wind blowing dynamic clouds across the sky

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).
Landscape with depth-of-field effect applied, simulating distance blur
Landscape with depth-of-field effect applied, simulating distance blur