⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Lighting.Ambient

static SphericalHarmonics Ambient{ get set }

Description

The scene’s ambient light probe, as spherical harmonics! This is soft omnidirectional light, the color and intensity arriving from each direction rather than a discrete source. Build one with SphericalHarmonics.FromLights, or let SetEnvironment derive it from a cubemap.

Assignments apply exactly as provided, and win over a SetEnvironment that’s still loading, even once it finishes. Later environment lighting replaces them: a new SetEnvironment, or world source estimates, where assignments are ignored entirely. A Mode change re-shapes the newest lighting, assigned or not.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!