Skip to content

Sky and Atmosphere

World Lighting

World Lighting in Unreal Engine 5.8.

World Lighting lights a whole level from one actor: an HDRI sky, a sun aimed at the sun in the image, a Sky Light taken from the image, Exponential Height Fog and exposure. Pick a preset, and they all change together.

How It Works

World Lighting holds Unreal's own parts: a sky dome, a Directional Light, a Sky Light, Exponential Height Fog and a post process layer.

  • The sun follows the HDRI. The Lighting Suite finds the sun in each HDRI and aims the Directional Light at it.
  • The Sky Light comes from the image. Exclude HDRI Sun keeps the HDRI's sun out of the capture, so the sun's light reaches the scene once.
  • Real light units. The sky is set in nits and the sun in lux. The same Sky Luminance gives the same light level on every HDRI.
  • Fog takes its color from the sky. Sky Based Fog gives Exponential Height Fog a small cubemap of the sky.
  • Exposure comes with the preset. Each preset has an auto exposure range of about 8 stops, shaped with Unreal's Exposure Compensation Curve. See Exposure Curves.
  • Blends don't jump. Unreal swaps the Exposure Compensation Curve whole when Post Process Volumes blend. World Lighting blends the curves, so exposure doesn't jump when a preset blend or an Ambience Zone starts.

Eight of the 15 presets (Dawn, Blue Hour, Clear Sunrise, Early Morning, Mid Morning, High Noon, Partly Cloudy and Golden Hour) start from published daylight formulas for the sun height in each HDRI, then are tuned for the image. The other seven don't use the formulas.

Here is what each part adds. Same place, camera and exposure.

What It Fixes

The problem What to do
Setting up a sun, Sky Light, fog and Post Process Volume for each mood takes time. Drag in one World Lighting and pick a preset.
The shadows don't match the sun in the HDRI. Turn on Follow HDRI.
The sun's brightness or color doesn't match the HDRI. Click Match HDRI next to the sun's Intensity.
A new HDRI changes the light level of the scene. Set Sky Luminance in nits.
Walking indoors turns the frame black. Use a preset's exposure, with its wide range and Exposure Compensation Curve.
The level already has a sun and sky, so you see two shadows. Click Add to World Lighting in the Message Log.
The sky looks frozen. Turn on Use Flowmap. You can paint your own with the Flowmap Painter.
The ground has no moving shade from clouds. Turn on Cast Cloud Shadows.
Distant fog doesn't match the sky behind it. Turn on Sky Based Fog.
A shot moves from one mood to another. Blend presets in Sequencer.
One area needs a different mood. Add an Ambience Zone.

What's Included

  • 15 presets and 28 HDRI skies, from dawn to a full moon night.
  • Moving clouds with 7 flowmaps and the Flowmap Painter, and cloud shadows on the ground.
  • A sun disc, and a moon with a disc and phase.
  • An exposure curve and film grade in each preset.
  • Your own: turn any HDR image into an HDRI, and save any look as a preset.

The same camera with two more presets.

Early Morning: cool haze and soft light shafts.Sunset: a low orange sun behind the trees.Early MorningSunset

Early Morning: cool haze and soft light shafts. Sunset: a low orange sun behind the trees.

Tutorial: Light Your First Level

  1. Select File > New Level, click Empty Level, then click Create.

  2. In the Place Actors panel, click Shapes and drag a Plane into the viewport.

  3. In the Details panel, set the plane's Scale to 50, 50, 1.

  4. Drag a Cube onto the ground.

  5. In the Place Actors panel, click the L Suite category and drag World Lighting into the viewport.

    You should see: a sky appears, and the cube casts a shadow. A new World Lighting starts with the Clear Day preset.

  6. In the Details panel, in the Preset section, click the Preset box (1) and choose Golden Hour.

    The Preset section of World Lighting in the Details panel
    1 Preset box. 2 Save as New Preset... saves your own look as a preset.

    You should see: the sun drops low, the light turns warm and the shadows get long.

  7. In the Sky section, click the small arrow at the bottom to show the advanced settings.

  8. Drag Rotation.

    You should see: the sky turns, and the shadows turn with it.

    Sky Rotation from 0 to -50 degrees. The light shafts and shadows follow the sun in the HDRI.

  9. Press Ctrl + S to save the level.

If Something Looks Wrong

What you see Why How to fix it
Everything is still black The viewport is not in Lit mode, or World Lighting was not added. Set the view mode at the top left of the viewport to Lit. Look for World Lighting in the Outliner.
No sky, only black above The viewport's Atmosphere show flag is off. Unreal then hides every sky and stops updating the sky light. Click Show Sky in the Sky hidden in a viewport message.
Far too bright or too dark Exposure has not settled, or another Post Process Volume overrides it. Wait a second. Then check with the Exposure Debugger.
Two shadows, or far too bright The level already had its own sun or sky light. Click Add to World Lighting in the Other sky actors in the level message.

Adding World Lighting to an Existing Level

If the level already has a Sky Light or Directional Light, the Message Log reports Other sky actors in the level.

  1. Click Add to World Lighting.

    World Lighting copies their HDRI, sun and sky light settings. The old actors are renamed and moved to the World Lighting/Replaced folder.

Tip: To bring the old actors back, click Restore on the Replaced Actors row in the Sky section.

Setting Up the Look

Applying a Preset

  1. Select the World Lighting.
  2. In the Details panel, in the Preset section, click the Preset box and choose a preset.

You can also double-click a preset in the Lighting Suite Library. Or select one in the Content Browser and click the arrow next to the Preset row.

The World Lighting keeps its own copy of the values, so later edits do not change the preset.

Changing the HDRI

To change only the sky, set HDRI in the Sky section. You can also drag an HDRI from the Lighting Suite Library (Textures > HDRIs) onto the World Lighting.

To use your own HDR image:

  1. Import a latitude-longitude HDR image into the Content Browser.

  2. Right-click the texture and select Create HDRI.

    The Lighting Suite creates an HDRI asset and finds its sun.

  3. Assign the new HDRI to the HDRI row of the World Lighting.

Matching the Sun

Match HDRI sets the sun's brightness, color and size from the HDRI.

If the Lighting Suite is not sure it found the sun, the Message Log reports Check the HDRI's sun and offers Find Sun Again. You can also turn off Follow HDRI and aim the sun with Azimuth and Elevation.

Exposure Curves

Each preset lets the camera adapt over about 8 stops, from a sunny courtyard into a dark hall. The Exposure Compensation Curve holds back part of that change, so an interior reads darker than outside. In the range the preset was made for, the curve changes nothing.

Drag the slider to compare. Same preset, camera and light. Without the curve, the range is a short 1.5 stops or so, and the dark hall stays black. The three sliders show Clear Day inside the hall, Golden Hour inside the hall, and Clear Day outside, where almost nothing changes.

A ruined hall, Clear Day preset, with a narrow auto exposure range: almost blackThe same hall with the Clear Day preset's exposure curve: the floor, walls and doors readWithout exposure curveWith exposure curve
The same hall, Golden Hour preset, with a narrow auto exposure range: blackThe same hall with the Golden Hour preset's exposure curve: a dim, readable interiorWithout exposure curveWith exposure curve
The Manor courtyard, Clear Day preset, with a narrow auto exposure rangeThe same courtyard with the Clear Day preset's exposure curve: almost the sameWithout exposure curveWith exposure curve

To change it, open Post Process > Lens > Exposure. Min EV100 and Max EV100 set how far the camera adapts. Exposure Compensation Curve sets how much of that change it gives back. Each built-in preset has its own curve asset in /CGFLightingSuite/Sky/Presets/Curves.

Color Grading

Each preset carries a film grade: softly lifted, slightly cool shadows, highlights tinted for the time of day, a little less midtone color, fine grain and a soft vignette. Its tones are based on film frames of a similar time of day.

Drag the slider to compare Golden Hour, then Sunset. Only the grade differs.

A cart by a village path at golden hour without the preset's color grade: flatterThe same view with the Golden Hour preset's color grade: deeper shadows and warmer lightWithout the preset's gradeWith the preset's grade
A village at sunset without the preset's color gradeThe same view with the Sunset preset's color gradeWithout the preset's gradeWith the preset's grade

The grade uses Unreal's own post process rows, so you can change or turn off any part: Post Process > Color Grading, Post Process > Film, Post Process > Film Grain and Post Process > Lens > Image Effects.

Saving a Preset

  1. Under the Preset row, click Save as New Preset....
  2. In the Save Asset dialog, choose a folder and a name in your project.
  3. Click Save.

Note: Built-in HDRIs and presets are read only. To change one, right-click it in the Content Browser and select Edit a Copy....

Built-in HDRIs and Presets

The 28 HDRIs are sky-only, named by time of day and sky, such as Dawn Clear, Golden Hour Clouds, Midday Cumulus and Full Moon Night. A sky-only HDRI has no ground: the dome repeats the horizon below it. The Lighting Suite Library groups them as Sunrise & Sunset, Day, Overcast & Mist and Night.

The 15 presets are Dawn, Clear Sunrise, Early Morning, Mid Morning, High Noon, Clear Day, Partly Cloudy, Golden Hour, Sunset, Blue Hour, Bright Overcast, Overcast, Heavy Overcast, Blue Overcast and Full Moon Night.

The same camera with 14 of the presets.

Blending Presets in Sequencer

  1. In Sequencer, add the World Lighting to the sequence.
  2. On its track, click + Track and select World Lighting Preset.
  3. Add a section for each preset.
  4. Overlap the sections and set their easing.

A section that eases in from nothing blends from the World Lighting's own settings.

Tip: For renders that repeat exactly, key Flow Time. This switches Flow Time Source to Manual.

In gameplay, the World Lighting component's Blueprint functions Blend To Preset (2 seconds by default) and Apply Preset do the same.

World Lighting Properties

The buttons at the top of the Details panel (Sky, Lighting, Fog, Post Process) filter the sections. Rows that World Lighting controls itself are greyed out, with the tooltip "Set by the World Lighting."

Preset

Property Description
Preset (1) The preset the look last came from. Picking one copies its values.
Save as New Preset... (2) Saves the look as a new preset in your project.
Update Preset Saves the look into your project preset. World Lighting actors already made from it keep their values.
Revert to Preset Applies the preset again. Available after a change.
Advanced
Preview Blend Previews the blend to another preset, from 0 (this look) to 1 (the other preset). Nothing is changed.

Sky

The Sky section of World Lighting in the Details panel
The Sky section. 1 HDRI. 2 Sky Luminance. 3 Tint. 4 Advanced.
Property Description
Use Sky Shows the sky to the camera. When off, the sky still lights the scene.
HDRI (1) The HDRI the sky shows and lights the scene with.
Sky Luminance (2) Average sky brightness without the sun, in nits. Clear sky: about 3000 to 8000. Overcast: about 300 to 6000. Full moon night: far below 1.
Tint (3) Color multiplied over the sky.
Advanced (4)
Texture The HDRI's image. Picking an HDR texture creates an HDRI asset and finds its sun.
Rotation Turns the sky, in degrees. A sun or moon on Follow HDRI turns with it.
Saturation 0 is gray. 1 is the HDRI as it is.
Contrast Above 1 gives deeper blue and brighter clouds. Below 1 flattens the sky. Also changes the light the sky gives.
Use Temperature Turns on Temperature.
Temperature In Kelvin. 6500 K keeps the HDRI's colors. Lower is warmer, higher is cooler.
Replaced Actors The sky actors World Lighting replaced. Restore brings them back.

Sun

The Sun section of World Lighting in the Details panel
The Sun section. 1 Use Sun. 2 Intensity. 3 Use Temperature. 4 Temperature. 5 Light Color. 6 Source Angle. 7 Virtual Shadow Map Quality. 8 Cast Shadows. 9 Follow HDRI. 10 Elevation. 11 Azimuth. 12 Disc.
Property Description
Use Sun (1) Lights the scene with a Directional Light aimed at the HDRI's sun.
Intensity (2) In lux. Match HDRI sets it from the HDRI's sun.
Use Temperature (3) Turns on Temperature.
Temperature (4) In Kelvin, multiplied with Light Color. 6500 K is white.
Light Color (5) Set from the HDRI when you pick one.
Source Angle (6) Size of the sun, in degrees. Larger gives softer shadows. Set from the HDRI when you pick one.
Virtual Shadow Map Quality (7) Quality of soft sun and moon shadows in the editor: Scalability, Epic or Cinematic. Epic and Cinematic look less grainy with a wide Source Angle, at a higher GPU cost. Packaged games keep the player's Scalability settings.
Cast Shadows (8) Whether the sun casts shadows.
Follow HDRI (9) The sun follows the HDRI's sun and turns with Rotation. When off, aim it with Azimuth and Elevation.
Elevation (10) Height above the horizon, in degrees.
Azimuth (11) Compass direction, in degrees. 0 is +X and 90 is +Y.
Disc (12) A disc drawn at the sun, instead of the HDRI's own sun. Show Disc draws it. Size is in degrees (the real sun is about 0.53). Color tints it. Intensity is in exposure stops (each -1 halves it). Edge Softness softens the edge. Glow Intensity and Glow Size add a glow.
Advanced
Shadow Amount 1 is full shadow, 0 is none.
Indirect Lighting Intensity Scales the sun's bounce light in Lumen.
Volumetric Scattering Intensity Scales the sun's light in volumetric fog.

Golden Hour preset. The larger the Source Angle, the softer the leaf shadows on the white wall. Golden Hour's own Source Angle is 3.5.

Source Angle dragged from 0.5 to 5 on the same wall.

Shadow Paint

The sun's Shadow Painter rows. Shown while Use Sun is on.

Cloud Shadows

Property Description
Cast Cloud Shadows Clouds drift over the ground and shade the sunlight.
Cloud Shadow Strength 1 removes the sun under a cloud. 0 casts no shadow.
Clouds The tiling cloud pattern. When empty, Cumulus Shadows is used.
Cloud Size World size of one repeat. Cumulus Shadows holds about five clouds across, so 3 km gives clouds of about 600 m.
Wind Speed In meters per second. Low clouds move about 5 to 15 m/s.
Wind Direction Compass direction the clouds move toward, in degrees.
Advanced
Softness Softens the cloud edges.

Moon

Property Description
Use Moon Adds a second Directional Light for a moon you place yourself. On a night HDRI with a moon, the Sun already follows that moon.
Intensity Moonlight on the ground, in lux. A full moon gives about 0.05 to 0.1 lux.
Light Color Color of the moonlight.
Source Angle Larger gives softer shadows.
Cast Shadows Whether the moon casts shadows.
Phase 1 is full, 0.5 is half, 0 is new.
Follow HDRI The moon sits on the moon in the HDRI and turns with Rotation.
Elevation, Azimuth Where the moon is when Follow HDRI is off, in degrees.
Disc Same settings as the sun's disc.
Advanced
Use Temperature, Temperature In Kelvin. 6500 K is white.
Volumetric Scattering Intensity Scales the moonlight in volumetric fog.
Texture Picture of the moon's face. When empty, the built-in moon face is used.

Sky Light

Property Description
Use Sky Light Lights the scene with the sky through a Sky Light.
Source Type Real Time Capture follows every sky change. Specified Cubemap uses a cubemap.
Cubemap The cubemap for Specified Cubemap. When empty, the HDRI's own is used.
Intensity Scale Relative to the sky. 1 is the light the sky really gives.
Light Color Color of the sky light.
Advanced
Indirect Lighting Intensity Scales the sky light's bounce light.
Volumetric Scattering Intensity Scales the sky light in volumetric fog.
Exclude HDRI Sun Keeps the HDRI's sun out of the sky light. Works with Real Time Capture.

Note: With Specified Cubemap, the HDRI's sun is counted twice. The Message Log reports Sun counted twice and offers Use Real Time Capture. With no cubemap at all, it reports Sky light needs a cubemap and offers Make Cubemap.

Fog

The Fog section of World Lighting in the Details panel, Golden Hour preset
The Fog section. 1 Use Fog. 2 Fog Source. 3 Fog Density. 4 Fog Height Falloff. 5 Sky Based Fog. 6 Inscattering Texture Tint. 7 Start Distance. 8 Volumetric Fog. 9 Fully Directional Inscattering Color Distance. 10 Non Directional Inscattering Color Distance. 11 Directional Inscattering Color. 12 Directional Inscattering Exponent. 13 Fog Max Opacity. 14 Scattering Distribution. 15 Albedo. 16 Extinction Scale. 17 View Distance.
Property Description
Use Fog (1) When off, World Lighting leaves fog alone.
Fog Source (2) World Lighting uses its own height fog. Level Actor keeps the level's Exponential Height Fog unchanged.
Fog Density (3) Density at the fog's base.
Fog Height Falloff (4) Larger values thin the fog faster with height.
Sky Based Fog (5) The fog takes its color from the sky behind it.
Inscattering Texture Tint (6) Tint of the sky's color in Sky Based Fog. White matches the sky.
Fog Inscattering Color Fog color and brightness when Sky Based Fog is off.
Fog Lit by Sky Scales Fog Inscattering Color by the sky's brightness. Shown when Sky Based Fog is off.
Start Distance (7) Distance from the camera where the fog starts.
Volumetric Fog (8) Light shafts and lit fog from every light. Costs GPU time.
Advanced
Fully Directional Inscattering Color Distance (9) Sky Based Fog: from this distance, the fog takes the color of the sky behind it.
Non Directional Inscattering Color Distance (10) Sky Based Fog: up to this distance, the fog takes the sky's average color.
Directional Inscattering Color (11) Fog color toward the sun. Black turns the glow off.
Directional Inscattering Exponent (12) How tight the glow toward the sun is.
Fog Max Opacity (13) 1 fully hides distant objects.
Scattering Distribution (14) How much volumetric fog scatters light toward the camera when you look at a light.
Albedo (15) Color of the light volumetric fog reflects.
Extinction Scale (16) Thickness of volumetric fog. Larger is denser.
View Distance (17) How far from the camera volumetric fog reaches.

Golden Hour preset, with only Fog Density changed.

Fog Density raised from 0.005 to 0.08.

Flowmap

Property Description
Use Flowmap The sky drifts along its flowmap, like moving clouds.
Preset Which way and how fast each part of the sky moves. When empty, the HDRI's own flowmap is used, or Wind Direction if it has none.
Flowmap Painter Paint opens the Flowmap Painter.
Speed Drift where the flowmap is strongest, in degrees per second. Real clouds overhead cross about 0.1 to 1.
Wind Direction Compass direction the sky drifts toward where no flowmap is painted.
Advanced
Distortion How far the sky is pulled in each loop. Higher gives longer motion but stretches the clouds more.
Variation, Variation Size How differently each part of the sky loops, and the size of those parts.
Detail, Detail Size Fine motion on top of the flowmap, and its size.
Evolution Slow brightening and thinning, so clouds seem to form and fade.
Horizon Speed Scale, Zenith Speed Scale Speed near the horizon and overhead, as a share of Speed.
Hold Below, Hold Fade The sky holds still up to this height above the horizon, then fades into motion.
Flow Time Source World Time moves the sky on its own. Manual holds it at Flow Time.
Flow Time Time of the moving clouds, in seconds, when Flow Time Source is Manual.

Post Process

Property Description
Use Post Process When off, only the level's volumes apply.
Post Source World Lighting applies the settings through its own layer. Level Actor places that layer above the highest-priority unbound Post Process Volume, without changing that volume.
Post process groups Unreal's own settings (Lens, Color Grading, Film and the rest). They hold the mood's exposure, bloom and grading.
Advanced
Priority Priority of the post process layer among the level's unbound volumes. Used when Post Source is World Lighting.

Additional Notes

For other problems, see Troubleshooting and Known Issues.

Limitations

  • One per level. With more than one, the Message Log reports More than one World Lighting and offers Select Others.
  • The HDRI stays in the sky. It is a far dome, not projected onto the ground. Build the ground in your level.
  • The sky is an image. The camera can't fly through its clouds, and they don't change when you move the sun.
  • Cloud shadows don't copy the HDRI's clouds. They come from a tiling pattern on the sun. Adjust Cloud Size, Wind Speed and Wind Direction to suit the sky.
  • No day and night cycle. Each preset is one moment of the day.
  • No baked lighting. The sun, moon and Sky Light are always Movable, so they add nothing to lightmaps.
  • Clouds hold still in the Path Tracer, so the image can settle. To move them between frames of a render, key Flow Time.