OptionaldensityThe density of the fog is a non-negative value. Typical values range from 0 to 15.
Increasing the value makes the fog thicker.
Use visibility instead. Note that visibility works inversely: a higher visibility means thinner fog.
OptionalfogThe color of the fog.
OptionalhalvingThe altitude in meters over which the fog thins by half, i.e. how tall the fog layer is.
Smaller values keep the fog closer to the ground. Set to null for fog that is uniform with
altitude (no altitude falloff); the maximumAltitude setting still applies.
OptionalheightHeight falloff is a non-negative value. Typical values range from 0 to 15. It represents the rate at which the fog density decreases above the earth.
Height falloff can be used for example to simulate thick fog limited to lower altitudes. It is unrelated to the camera's altitude above the earth. This setting contrasts with maximumAltitude, which is a setting that can be used to completely turn off fog when the camera is above some altitude. Even if there were some fog present at lower altitudes, the entire fog effect will be turned off. You can set heightFalloff to 0. In that case, fog density does not depend on height. It is uniform across all heights. The maximumAltitude setting still applies.Use halvingHeight instead. Set halvingHeight to null for the uniform fog that a height falloff of 0 used to produce.
OptionallightOptionalmaximumThe altitude of the camera, in meters above the ellipsoid, above which all fog disappears.
The fog effect automatically and gradually reduces as the camera gets farther away from the earth, and moves closer to the maximum altitude. This setting contrasts with halvingHeight, which limits the fog to lower altitudes and is unrelated to the camera's position.
OptionalvisibilityThe distance in meters at which the fog fully obscures the scene near the ground.
Smaller values make the fog thicker. With a halvingHeight set, this applies near ground level and the visibility increases with altitude.
A
FogEffectallows you to apply a fog-like effect on a 3D map.It provides an approximation of fog in the atmosphere, and can greatly increase the user's perception of depth and scale in a 3D view.
Since
2023.1