DocsGRADEReference

Atmosphere

1 min read

On this page

Depth-based haze with height falloff and a sun-coloured glow: aerial perspective.

Studio categoryScene
Pipeline stageScene (scene-linear HDR, before the tonemapper)
Default position5 in its stage
Works inLive views only (viewports, PIE, games, Movie Render Queue): needs scene depth or the level
C++ / BlueprintFGradeLayer::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).

ParameterBlueprint pathValuesDefaultDescription
EnabledEffects.Atmosphere.Enabledon/offoffTurns this on or off (the other values are kept while it is off).
DensityEffects.Atmosphere.Density0..10025Haze density, 0..100: at 25 the haze reaches half opacity at Half Distance; 100 is four times thicker.
Start DistanceEffects.Atmosphere.StartDistance>= 0 cm (slider to 50000)1000Distance from the camera where the haze begins (cm).
Half DistanceEffects.Atmosphere.HalfDistance>= 100 cm (slider to 200000)15000Distance where the haze reaches half its opacity (cm).
Height FalloffEffects.Atmosphere.HeightFalloff>= 0 cm (slider to 50000)3000Height falloff: the haze thins out above BaseHeight over this many cm (0 = uniform).
Base HeightEffects.Atmosphere.BaseHeightnumber cm0World Z of the densest layer (cm).
ColorEffects.Atmosphere.Color.R/G/B/Acolour(0.55, 0.65, 0.8)
BrightnessEffects.Atmosphere.Brightness0..161Brightness of the haze colour (scene-linear multiplier; 1 = mid grey based).
DesaturationEffects.Atmosphere.Desaturation0..10020Desaturate distant colours, 0..100.
Max OpacityEffects.Atmosphere.MaxOpacity0..10.85Highest haze opacity, 0..1.
Affect SkyEffects.Atmosphere.AffectSkyon/offoffAlso haze the sky (far depth).

Sun

ParameterBlueprint pathValuesDefaultDescription
Sun ScatteringEffects.Atmosphere.SunScattering0..10040Forward scattering towards the sun (glow around it), 0..100.
Sun ColorEffects.Atmosphere.SunColor.R/G/B/Acolour(1, 0.8, 0.55)
Use Scene SunEffects.Atmosphere.UseSceneSunon/offonUse the brightest directional light of the world for the sun direction (else SunDirection).
Sun DirectionEffects.Atmosphere.SunDirection.X/Y/Zvector (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.