Atmosphere
On this page
Depth-based haze with height falloff and a sun-coloured glow: aerial perspective.
| Studio category | Scene |
|---|---|
| Pipeline stage | Scene (scene-linear HDR, before the tonemapper) |
| Default position | 5 in its stage |
| Works in | Live views only (viewports, PIE, games, Movie Render Queue): needs scene depth or the level |
| C++ / Blueprint | FGradeLayer::Effects.Atmosphere (FGradeAtmosphere) |
Manual: Atmosphere. Every numeric parameter can be set at runtime with Set Layer Parameter using the path shown (see Animation).
Parameters
Depth-based atmospheric haze with height falloff and sun-coloured forward scattering (scene effect).
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Enabled | Effects.Atmosphere.Enabled | on/off | off | Turns this on or off (the other values are kept while it is off). |
| Density | Effects.Atmosphere.Density | 0..100 | 25 | Haze density, 0..100: at 25 the haze reaches half opacity at Half Distance; 100 is four times thicker. |
| Start Distance | Effects.Atmosphere.StartDistance | >= 0 cm (slider to 50000) | 1000 | Distance from the camera where the haze begins (cm). |
| Half Distance | Effects.Atmosphere.HalfDistance | >= 100 cm (slider to 200000) | 15000 | Distance where the haze reaches half its opacity (cm). |
| Height Falloff | Effects.Atmosphere.HeightFalloff | >= 0 cm (slider to 50000) | 3000 | Height falloff: the haze thins out above BaseHeight over this many cm (0 = uniform). |
| Base Height | Effects.Atmosphere.BaseHeight | number cm | 0 | World Z of the densest layer (cm). |
| Color | Effects.Atmosphere.Color.R/G/B/A | colour | (0.55, 0.65, 0.8) | |
| Brightness | Effects.Atmosphere.Brightness | 0..16 | 1 | Brightness of the haze colour (scene-linear multiplier; 1 = mid grey based). |
| Desaturation | Effects.Atmosphere.Desaturation | 0..100 | 20 | Desaturate distant colours, 0..100. |
| Max Opacity | Effects.Atmosphere.MaxOpacity | 0..1 | 0.85 | Highest haze opacity, 0..1. |
| Affect Sky | Effects.Atmosphere.AffectSky | on/off | off | Also haze the sky (far depth). |
Sun
| Parameter | Blueprint path | Values | Default | Description |
|---|---|---|---|---|
| Sun Scattering | Effects.Atmosphere.SunScattering | 0..100 | 40 | Forward scattering towards the sun (glow around it), 0..100. |
| Sun Color | Effects.Atmosphere.SunColor.R/G/B/A | colour | (1, 0.8, 0.55) | |
| Use Scene Sun | Effects.Atmosphere.UseSceneSun | on/off | on | Use the brightest directional light of the world for the sun direction (else SunDirection). |
| Sun Direction | Effects.Atmosphere.SunDirection.X/Y/Z | vector (X, Y, Z) | (-0.5, 0.3, 0.4) | Direction TOWARDS the sun in world space (normalised by GRADE). |
Generated from the GRADE C++ headers. Back to the reference index.