Skip to content
Tutorials Center
My learning

Topics

Lesson 27 of 38 ยท Materials and Lighting

Lighting: Lights, Lumen and Mobility

Light your Unreal Engine scene. Directional, point, spot and rect lights, mobility settings, Lumen global illumination and reflections, sky atmosphere and inverse square falloff.

Good lighting does more for a scene than any amount of modelling. Unreal Engine 5 ships with Lumen, a fully dynamic global illumination and reflections system, so lights can move and light bounces around the room without any baking. This lesson covers the light types, the mobility setting, how Lumen fits in, and the physical units behind intensity.

The editor is not available on this site, so menu steps are described in words and the Python stand-ins model the maths.

Light types

You add lights from Place Actors (Window > Place Actors > Lights) or the viewport's + button:

Light Shape Typical use
Directional Light Parallel rays from infinitely far away Sun and moon; one per level is normal
Point Light Sphere radiating in all directions Bulbs, candles, magic orbs
Spot Light Cone with inner and outer angles Flashlights, stage lights, car headlights
Rect Light Rectangular area Windows, TV screens, soft studio lights
Sky Light Captures the sky and lights the scene Ambient light from the sky

Important properties on every light: Intensity, Light Color, Temperature (in Kelvin, when Use Temperature is on), Attenuation Radius (where the influence ends), Source Radius (soft shadows), and Cast Shadows.

Mobility: Static, Stationary, Movable

Every light has a Mobility setting under Transform:

  • Static: baked into lightmaps by the Lightmass baker. Cheapest at run time, no movement, no dynamic shadows from moving objects. Useful for mobile and VR targets.
  • Stationary: position and shape are fixed, but color and intensity can change at run time. Baked indirect light plus dynamic shadows for the main lights, limited overlap.
  • Movable: fully dynamic, can move, change and cast dynamic shadows. The default for Lumen workflows. Most expensive.

When you use Lumen (the UE5 default for new projects with a desktop target) you normally use Movable lights. Static and Stationary lights are mainly about baked workflows, which you choose in Project Settings under Engine > Rendering > Global Illumination.

Lumen

Lumen computes diffuse global illumination and reflections in real time. When a bright wall bounces light onto a dark floor, or an emissive neon sign tints nearby surfaces, Lumen is responsible. It offers two tracing methods:

  • Software Ray Tracing (using mesh distance fields and a global surface cache): runs on a wide range of GPUs.
  • Hardware Ray Tracing: more accurate, higher cost, requires a ray-tracing capable GPU and an enabled setting.

You enable Lumen in Project Settings > Engine > Rendering: set Dynamic Global Illumination Method and Reflection Method to Lumen. For Lumen to work well:

  • Use walls with thickness, not paper-thin planes. Light leaks through thin geometry.
  • Make sure meshes have Generate Mesh Distance Fields enabled (the default in UE5).
  • Prefer large, simple, well-lit rooms. Tiny, fine detail is hard for the surface cache.
  • Use the Lumen Scene and Surface Cache view modes (Lit > Lumen) to debug.

If your project targets lower-end hardware or mobile, you can disable Lumen and use baked lighting with static lights, or screen-space methods with a Sky Light.

Sky, sun and fog

The default Open World template places the pieces for a convincing outdoor scene:

  • Directional Light as the sun, with Atmosphere Sun Light enabled so the sky responds.
  • Sky Atmosphere for physically based blue sky and sunsets.
  • Sky Light with Real Time Capture to light the scene from the sky.
  • Volumetric Cloud and Exponential Height Fog for depth and mood.

Rotate the directional light to change the time of day. With Movable lighting and Lumen the whole scene updates instantly.

Intensity and falloff

Light from a point source follows the inverse square law: double the distance and the light becomes one quarter as strong. Unreal lets you set intensity in candelas (cd), lumens (lm) or unitless, via the Intensity Units property. A rough guide for a point light is about 3,000 lumens for a 200 W incandescent bulb equivalent, or about 800 lumens for a 60 W-equivalent bulb.

Python Stand-in: inverse square falloff

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The numbers show the quarter-per-doubling behavior. In practice the Attenuation Radius cuts the light off at a chosen distance for performance, so keep it as small as the visuals allow.

Spot light cones

A spot light has an Inner Cone Angle (full intensity) and an Outer Cone Angle (falls to zero). The soft edge between them gives a natural look.

Python Stand-in: spot light cone falloff

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

(Unreal's own falloff curve is not exactly linear; the stand-in shows the idea of an inner and outer cone.)

A basic lighting workflow

  1. Set the Project Settings to Lumen (or baked, if your target needs it).
  2. Place the sun, sky atmosphere and sky light, or start from a template that has them.
  3. Add Point, Spot and Rect lights for local interest.
  4. Check Lit > Detail Lighting and Lit > Lumen > Surface Cache.
  5. Adjust exposure (see Post processing and exposure) so the scene reads correctly.
  6. Profile with stat gpu and use Shader Complexity and Light Complexity views to find expensive areas. See Profiling and stat commands.

Common mistakes

  • Dozens of overlapping shadow-casting lights. Each costs GPU time. Turn off shadows for fill lights.
  • Huge attenuation radii. They make many lights touch many pixels.
  • Thin walls with Lumen. Light leaks; use thick geometry.
  • Judging a scene before exposure settles. Auto exposure adapts over a second or two.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which light type is the standard choice for sunlight?

    A directional light sends parallel rays, a good model of the sun and moon.
  2. 2. What does Lumen provide?

    Lumen computes diffuse global illumination and reflections in real time.
  3. 3. If you double the distance from a point light, how does illuminance change?

    Inverse square law: intensity falls with the square of the distance.
  4. 4. Which mobility setting can move at run time and casts fully dynamic shadows?

    Movable lights are fully dynamic; Static lights are baked and Stationary lights are partly baked.

Summary

  • Directional, Point, Spot, Rect and Sky lights cover most needs.
  • Mobility chooses between baked (Static), partly baked (Stationary) and dynamic (Movable) lighting.
  • Lumen gives dynamic global illumination and reflections; use thick walls and check the Lumen debug views.
  • Light follows the inverse square law; keep attenuation radii tight.

Next: Post Processing and Exposure