Environment Effects
Environment effects customize the global ambient lighting, background skyboxes, and atmospheric conditions of the experience scene.
By adding these effects to the environment pipeline, developers can render realistic ground fog, configure multi-colored skyboxes, or animate volumetric background noise.
Volumetric Animated Ground Fog Environment Effect#
The Fog effect simulates realistic volumetric ground fog drifting across the scene's ambient space.
It supports mixing two separate colors via fogNoiseColorA and fogNoiseColorB, with global density managed by fogAlpha and fogDistanceMultiplier. The thickness bounds are constrained using fogMinDistance, fogNoiseDistanceStart, and fogNoiseDistanceEnd, while a scrolling noise simulation is customized under the collapsible Advanced section, containing fogNoiseAnimationSpeed, groundFogSharpness, dual scales (fogNoiseScaleA, fogNoiseScaleB), and dual intensity parameters (fogNoiseIntensityA, fogNoiseIntensityB).
Fog
XR_SKYBOXXR_ENVIRONMENTXR_SCENEFog Properties Details
| Property & Type | Display Name | System Type | Default |
|---|---|---|---|
fogNoiseColorA: IColor | Noise Color A | COLORCOLOR PICKER | {r: 0.8, g: 0.8, b: 0.8, a: 1} |
fogNoiseColorB: IColor | Noise Color B | COLORCOLOR PICKER | {r: 0.72, g: 0.72, b: 0.72, a: 1} |
fogAlpha: float | Alpha | FLOATRANGE SLIDER | 0.98 |
fogDistanceMultiplier: float | Distance Multiplier | FLOATRANGE SLIDER | 20 |
fogMinDistance: float | Minimum Distance | FLOATRANGE SLIDER | 4 |
fogNoiseAnimationSpeed: float | Noise Animation Speed | FLOATRANGE SLIDER | 0.5789 |
fogNoiseDistanceStart: float | Noise Distance Start | FLOATRANGE SLIDER | 0 |
fogNoiseDistanceEnd: float | Noise Distance End | FLOATRANGE SLIDER | 0.7 |
groundFogSharpness: float | Sharpness | FLOATRANGE SLIDER | 0.5 |
fogNoiseScaleA: float | Noise Scale A | FLOATRANGE SLIDER | 0.2105 |
fogNoiseScaleB: float | Noise Scale B | FLOATRANGE SLIDER | 0.4737 |
fogNoiseIntensityA: float | Noise Intensity A | FLOATRANGE SLIDER | 0.2 |
fogNoiseIntensityB: float | Noise Intensity B | FLOATRANGE SLIDER | 0.2 |