Environment Effects

Published Updated
A suite of built-in environmental effects that customize skyboxes, global illumination, atmospheric fog, and ambient backgrounds.

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#

Effect<FogEffect>: An environmental effect that adds volumetric, animated ground fog with two-tone color blending, density multiplier, and dual noise scale levels.

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_ENVIRONMENT.XR_SKYBOX
Effect
Effect System ID
XR_SKYBOX
Pipeline Type
XR_ENVIRONMENT
Context Type
XR_SCENE

Fog Properties Details

Property & TypeDisplay NameSystem TypeDefault
fogNoiseColorA: IColor
Noise Color A
COLOR
COLOR PICKER
{r: 0.8, g: 0.8, b: 0.8, a: 1}
fogNoiseColorB: IColor
Noise Color B
COLOR
COLOR PICKER
{r: 0.72, g: 0.72, b: 0.72, a: 1}
fogAlpha: float
Alpha
FLOAT
RANGE SLIDER
0.98
fogDistanceMultiplier: float
Distance Multiplier
FLOAT
RANGE SLIDER
20
fogMinDistance: float
Minimum Distance
FLOAT
RANGE SLIDER
4
fogNoiseAnimationSpeed: float
Noise Animation Speed
FLOAT
RANGE SLIDER
0.5789
fogNoiseDistanceStart: float
Noise Distance Start
FLOAT
RANGE SLIDER
0
fogNoiseDistanceEnd: float
Noise Distance End
FLOAT
RANGE SLIDER
0.7
groundFogSharpness: float
Sharpness
FLOAT
RANGE SLIDER
0.5
fogNoiseScaleA: float
Noise Scale A
FLOAT
RANGE SLIDER
0.2105
fogNoiseScaleB: float
Noise Scale B
FLOAT
RANGE SLIDER
0.4737
fogNoiseIntensityA: float
Noise Intensity A
FLOAT
RANGE SLIDER
0.2
fogNoiseIntensityB: float
Noise Intensity B
FLOAT
RANGE SLIDER
0.2