Skip to content

Sky and Atmosphere

Ambience Zones

Without the zone: the level's own World Lighting, a sunny day.The same camera inside an Ambience Zone with the Heavy Overcast profile: the sun and its shadows are gone, and the light turns soft and grey.Without the zoneInside the zone

Without the zone: the level's own World Lighting, a sunny day. The same camera inside an Ambience Zone with the Heavy Overcast profile: the sun and its shadows are gone, and the light turns soft and grey.

Walking into a Clear Day zone in a dusk village, in game. The zone has a hard edge (Blend Radius 0) and a 6-second Blend Time with Ease In Out: the sky clears as you walk in.

An Ambience Zone is an area of a level with its own mood: a swamp with dense green fog, a cave mouth with a dimmer sky, an overcast valley next to a sunny ridge. When the camera enters the zone, the lighting blends into that mood. This works in the editor viewport, in Play In Editor and in a packaged game.

How It Works

Each frame, the Lighting Suite finds the camera, works out how strong each zone is, and applies the ticked values of each zone's profile over the level's lighting. A Post Process Volume blends post process settings only. A zone also blends the sky, sun and fog.

  • No second sun or fog. Zones change the level's existing sky, sun and fog.
  • Profiles are shared. The look lives in an Ambience Zone Profile asset. Editing one changes every zone that uses it.
  • With World Lighting, zones blend its sky, sun, moon and fog. Its own settings never change.
  • Without World Lighting, zones change the level's Directional Light, Sky Light and Exponential Height Fog. A profile's sky, moon, sun disc, flowmap and Shadow Paint values then do nothing.
  • Exposure doesn't jump. Unreal swaps an Exposure Compensation Curve whole. Zones blend the curves.
  • HDRIs load when needed. A zone's HDRI loads when the camera comes near the zone.

What It Fixes

The problem What to do
One area needs denser fog or another sky. Place a zone there and tick only the values that differ.
The mood pops at the edge of an area. Raise Blend Radius, or use a hard edge with a longer Blend Time.
You retune the level's lighting, and the zones no longer fit. Set a value's Blend to Multiply or Add.
Many areas need the same mood. Give their zones one profile.
The shadows swing when you enter a zone. Turn on Keep World Lighting Sun in the profile.
A storm has to start from gameplay. Turn on Infinite Extent (Unbound) and call Fade Weight To in Blueprint.

What's Included

  • 15 profiles, one for each built-in World Lighting Preset, with the same name.
  • Create Ambience Zone Profile: make a profile from any World Lighting Preset.
  • Blending: Blend Radius, Blend Time and Blend Curve, with Priority for overlapping zones.
  • Per-value control: a checkbox on each value, with Replace, Multiply or Add.
  • Blueprint: Fade Weight To and Snap Next Update (skips the fade after a teleport or camera cut).

Tutorial: Make Your First Zone

Make a Profile

  1. In the Content Browser, right-click a World Lighting Preset, such as Overcast.

  2. Select Create Ambience Zone Profile.

  3. In the Save Asset dialog, pick a folder and a name, then click Save.

    You should see: the new profile opens. It holds the whole look of that preset, including its sun direction.

  4. Untick every value you do not want the zone to change.

    An unticked value keeps the level's own lighting.

  5. To keep the shadows from swinging between zones, turn on Sun > Keep World Lighting Sun.

  6. Save the profile.

To start from an empty profile, use the Content Browser's Add menu and select Lighting > Ambience Zone Profile.

Place the Zone

  1. In the Place Actors panel, click the L Suite category.

  2. Drag Ambience Zone into the viewport.

  3. In the Details panel, in the Ambience Zone section, set Profile (1) to your new profile.

    The Ambience Zone in the Details panel
    An Ambience Zone with the Blue Hour profile. 1 Profile. 2 Blend Radius. 3 Box Extent.
  4. In the Shape section, set Box Extent (3) to cover the area.

  5. In the Blending section, set Blend Radius (2) to soften the edge.

    An Ambience Zone selected in the editor: moved, turned, and its Blend Radius raised from 150 to 600, with the Details values updating as you change them.

Try It

  1. Hold the right mouse button and press W to fly the camera into the zone.

    You should see: the lighting blends into the zone's mood.

    Walking into a Heavy Overcast zone in a roofless hall, in game: the sun stripes on the floor fade out over the zone's Blend Time.

  2. Fly back out.

    You should see: the lighting blends back to the level's own look.

  3. Save the level and click Play to check the blend in game.

Zone Properties

You edit the look itself in the profile.

Property Description
Ambience Zone
Profile The mood the zone shows.
Blending
Enabled Turns the zone on or off.
Blend Radius Distance in cm outside the shape over which the zone fades in. Default 100. At 0 the edge is hard, and crossing it starts a Blend Time fade.
Blend Time Seconds a sudden change takes, such as crossing a hard edge or a Priority change. Default 2. At 0 the change is instant. A camera jump of over 50 m in one frame skips it.
Blend Curve Ease In Out (default) starts and ends gently. Linear keeps one pace.
Priority Where zones overlap, the higher priority wins. With equal priority, the smaller zone wins.
Blend Weight (advanced) From 0 (no effect) to 1 (full mood). Fade Weight To changes it in game.
Infinite Extent (Unbound) (advanced) The zone affects the whole level, whatever its shape.
Shape
Shape Box or Cylinder.
Box Extent Half size of the box, in cm.
Radius, Height Size of the cylinder, in cm.
Zone Color Wall color in the viewport. It comes from the profile, so zones with one profile share a color. Tick it to pick your own.
Shape Color (advanced) Wall color while the zone has no profile.

Profile Values

Each profile value has a checkbox, like an override on a Post Process Volume. Only ticked values change the lighting.

Under a ticked value, Blend sets how it combines with the level's value:

  • Replace uses the profile's value.
  • Multiply multiplies the level's value (1 keeps it).
  • Add adds to the level's value (0 keeps it).

Angles offer Replace or Offset. Multiply, Add and Offset follow the level when you retune its lighting.

Section Values Advanced
Sky (needs World Lighting) HDRI, Sky Luminance, Tint Intensity, Rotation, Saturation, Contrast, Temperature
Sun Keep World Lighting Sun, Use Sun, Intensity, Light Color, Temperature, Elevation, Azimuth, Shadow Paint (needs World Lighting) Source Angle, Shadow Amount, Indirect Lighting Intensity, Volumetric Scattering Intensity, Sun Disc (needs World Lighting)
Moon (needs World Lighting) Use Moon, Intensity, Phase, Elevation, Azimuth Light Color, Temperature, Source Angle, Volumetric Scattering Intensity, Moon Texture, Moon Disc
Sky Light Intensity, Light Color Indirect Lighting Intensity, Volumetric Scattering Intensity
Flowmap (needs World Lighting) Use Flowmap, Flowmap, Speed, Wind Direction
Fog Fog Density, Visibility (km), Fog Height Falloff, Inscattering Texture Tint, Fog Inscattering Color, Start Distance Fog Max Opacity, Directional Inscattering Color, Directional Inscattering Exponent, Scattering Distribution, Albedo, Extinction Scale, View Distance, Fog Cutoff Distance
Post Process Unreal's post process settings, blended like a Post Process Volume.

The profile also has Display Name, Description and Zone Color.

Tip: Visibility (km) sets the fog from how far you can see: fog is under 1 km, mist 1 to 3 km, clear air 20 km and more.

Built-in Profiles

Built-in profiles are read only. To change one, right-click it in the Content Browser, select Edit a Copy..., and give the copy to your zones.

Seeing Zones in the Viewport

In editor viewports, zones draw as colored walls with the zone and profile names on them. The walls never show in Play In Editor or in a game.

  • To hide the walls, turn off Show > Ambience Zones in the viewport.
  • To change their pattern, opacity and names, open Editor Preferences > Plugins > CG Foundry Lighting Suite - Ambience Zones.

Additional Notes

Why does the zone show a message in the Message Log?

No profile means the zone has no profile yet. Click New Profile... to make one. Sky, moon and sun disc values need World Lighting means the profile changes something only World Lighting has, in a level without it. Click Add World Lighting.

For other problems, see Troubleshooting and Known Issues.

Limitations

  • Some values need World Lighting. See Profile Values.
  • Static lights don't change. Set the light's Mobility to Movable or Stationary.
  • Unreal's lights show zone values in the editor. While the editor camera is inside a zone, Unreal's lights and fog show the zone's values in their Details panels. They get their own values back before you save, undo or play.
  • The sky shows two HDRIs at once. Where three zone HDRIs blend, the weakest one switches off.
  • Box and Cylinder only. For another shape, overlap several zones with the same profile.
  • Not replicated. Each client follows its own camera, and a dedicated server doesn't run zones. In multiplayer, call Fade Weight To on every client.
  • One camera drives the sky, sun and fog. In split screen, this is the first local player's camera.
  • Lumen can trail a blend. Lumen updates faster during a blend, at more cost, and indirect lighting can keep settling after it. For a render, start recording after it settles.