A look’s height fog, but for its far colour.
| Property |
Type |
Description |
color |
ColorRepresentation |
The haze’s colour, which the far ground turns toward. |
density |
number |
How much of the light a metre of fog at height takes, such as 0.01 for a light haze and 0.05 for a mist. |
falloff |
number |
How fast it thins upward: its density halves every 0.69 / falloff metres, so 0.1 halves it every 7 m. |
height |
number |
Metres above the map’s zero where the fog has its density. |
maxOpacity? |
number |
The most of a pixel the fog may hide, 0 to 1, as Unreal’s FogMaxOpacity. 1 when left out. |
skyDistance? |
number |
Metres the sky stands at for the fog, so the haze lies over the sky’s horizon as it lies over ground that far and thins up the sky as the eye’s ray climbs out of it, as Unreal fogs its sky sphere. Set it past the farthest ground the scene draws, or a far ridge takes more haze than the sky behind it. Left out, the sky takes no fog. |
start? |
number |
Metres from the camera before the fog starts, as Unreal’s start distance, so the nearest ground stays clear; 0 when left out. |
sunScatter? |
number |
How much of the sun’s light the fog scatters toward the eye at its thickest, 0 to 1: a warm glow in the haze around the sun, reddening as it sets and gone through the twilight, as Godot’s fog_sun_scatter. An artistic lobe with no shadowing, as Unreal’s and Filament’s analytic fog draw theirs, so a ridge in front of the sun still glows. 0 when left out. |
sunScatterExponent? |
number |
How tight the glow is around the sun: a larger number draws a smaller glow, as Unreal’s DirectionalInscatteringExponent. 8 when left out. |