Lighting & Rendering in Unreal Engine

A Complete Beginner's Guide to Creating Professional Lighting

📚 5 Tutorial Modules
⏱️ 15-30 min each
🎮 Unreal Engine 5
🎓 Complete Beginner

Lighting transforms your game from dull to dramatic, flat to photorealistic. This tutorial will teach you everything you need to know to create professional lighting in Unreal Engine, even if you've never worked with 3D lighting before.

Lighting Tutorial Header - Dramatic lighting examples

What You'll Learn

💡 Lighting Fundamentals

Understand how light works in Unreal and the terminology used by professionals

🔦 Light Types & Properties

Master the 5 main light types and how to control their appearance

⚡ Performance & Workflow

Learn mobility settings, optimization, and professional lighting workflows

Tutorial Topics (Click to Jump)

Tutorial 1: Introduction to Lighting

⏱️ 15-20 minutes

1.1

Why Lighting Matters

Lighting is one of the most powerful tools in game development. It sets the mood, guides the player's eye, makes surfaces look realistic, and can turn a simple scene into something breathtaking. In Unreal Engine, you work with Light Actors - objects that emit light just like lamps in the real world.

Real-World Example: Think about how different the same room looks at sunrise vs sunset vs under fluorescent lights. That's the power of lighting - same objects, completely different feel.
Same scene with different lighting showing dramatic differences
1.2

Direct Lighting

Direct lighting is light that travels straight from a light source to a surface without bouncing off anything first. This is the primary, strongest light that hits your objects.

// Direct lighting path:
Light Source → Surface

Characteristics:
• Brightest light on the surface
• Full color of the light source
• Creates the main shadow
• Most performance-friendly
Diagram showing direct lighting path
1.3

Indirect (Bounced) Lighting

Indirect lighting is light that bounces off other surfaces before reaching an object. This is what fills in shadows and makes scenes look realistic instead of flat.

// Indirect lighting path:
Light Source → Surface A → Surface B

Characteristics:
• Softer, more subtle than direct light
• Takes on color from surfaces it bounces off
• Fills in dark areas (ambient lighting)
• More expensive to calculate
Color Bleeding: Notice how a red wall makes nearby white surfaces look slightly pink? That's indirect lighting picking up color from the bounce!
Example of colored bounce lighting in a room
1.4

Understanding Shadows

Shadows are areas where light is blocked by an object. Unreal creates shadows by taking a "snapshot" of the scene from the light's point of view and projecting it onto surfaces.

Types of Shadows:
Hard Shadows = Sharp edges (small/distant light source)
Soft Shadows = Blurred edges (large/close light source)
Contact Shadows = Extra detail where objects meet
Performance Note: Shadows are expensive! Each light that casts shadows requires extra calculations. We'll learn how to manage this later.
Examples of hard vs soft shadows
1.5

Static vs Dynamic Lighting

This is one of the most important concepts in Unreal Engine lighting:

Static Lighting:
• Calculated once during "Build"
• Saved to textures (lightmaps)
• Cannot move or change at runtime
• High quality, great performance

Dynamic (Movable) Lighting:
• Calculated every frame in real-time
• Can move, change color, turn on/off
• More expensive performance-wise
• Essential for moving lights (flashlight, etc.)
Rule of Thumb: Use static lights for things that never change (sun, ceiling lights in a fixed building). Use dynamic lights for things that move or change (flashlight, flickering fire, day/night cycle).
1.6

Light Attenuation

Attenuation is the fancy word for "light gets dimmer the further it travels." Just like real life, lights in Unreal don't shine forever - they fade out over distance.

Attenuation Radius:
• Defines how far the light reaches
• Light is brightest at the source
• Fades to zero at the edge of the radius
• Larger radius = more expensive performance
Light attenuation visualization showing falloff
Performance Tip: Keep attenuation radii as small as possible while still getting the look you want. A light with 10,000 radius affects way more pixels than one with 1,000 radius!

✅ Tutorial 1 Complete

  • You understand what Light Actors are and why lighting is important
  • You know the difference between direct and indirect lighting
  • You understand how shadows work in Unreal
  • You know the difference between static and dynamic lighting
  • You understand light attenuation

Tutorial 2: Light Types

⏱️ 20-25 minutes

2.1

The Five Main Light Types

Unreal Engine provides five types of lights, each designed for different purposes. Think of them like different tools in a toolbox - you need the right one for the job.

The Five Light Types:
1. Directional Light - Simulates the sun (parallel rays)
2. Point Light - Emits in all directions (light bulb)
3. Spot Light - Emits in a cone (flashlight, lamp)
4. Rect Light - Area light with shape (window, monitor)
5. Sky Light - Captures environment for ambient light
2.2

Placing Lights in Your Scene

Before we explore each light type, let's learn how to add them:

  1. In the toolbar, click the Place Actors panel (or press Shift+1)
  2. Navigate to Lights category
  3. You'll see all five light types listed
  4. Drag a light into your viewport to place it
  5. Use the Move tool (W key) to position it
Place Actors panel showing light types menu
2.3

Directional Light

The Directional Light simulates a massive, distant light source like the sun. All light rays are parallel, and it affects the entire level equally.

Use Cases:
• The sun or moon
• Primary outdoor lighting
• Skylight during daytime

Key Features:
• Position doesn't matter, only rotation
• Covers infinite distance
• Usually only need one per level
• Can cast shadows across the entire scene
Important: The Directional Light's position in the world doesn't matter - only its rotation! The light comes from the direction the arrow points.
Directional light in scene showing parallel rays
2.4

Point Light

A Point Light emits light in all directions from a single point, just like a light bulb hanging from the ceiling.

Use Cases:
• Light bulbs
• Candles or torches
• Explosions or magic effects
• Small area lighting

Key Features:
• Emits in a sphere
• Position is very important
• Has attenuation radius
• Can be moved and animated
Point light showing spherical emission
2.5

Spot Light

A Spot Light emits light in a cone shape, perfect for focused lighting like a flashlight or stage light.

Use Cases:
• Flashlights
• Street lamps
• Ceiling spotlights
• Car headlights
• Stage lighting

Key Features:
• Emits in a cone
• Both position AND rotation matter
• Has inner and outer cone angles
• Great for focused lighting
Cone Control: Spot lights have two cone angles - inner (bright area) and outer (falloff area). Adjusting these creates sharp or soft edges.
Spot light showing cone emission
2.6

Rect Light

A Rect Light (Rectangle Light) is an area light with width and height, giving more realistic lighting from surfaces.

Use Cases:
• TV/monitor screens
• Windows
• Light panels
• Photography softboxes

Key Features:
• Has physical width and height
• Creates softer, more realistic shadows
• More expensive than point/spot lights
• Great for architectural lighting
Rect light showing area emission
2.7

Sky Light

The Sky Light captures the scene around it and uses it to provide ambient lighting - like how the sky provides overall light outdoors.

Use Cases:
• Outdoor ambient lighting
• Image-based lighting
• Filling in shadows
• Creating realistic outdoor scenes

Key Features:
• Provides ambient light from all directions
• Can use cubemap or capture scene
• Usually only need one per level
• Essential for outdoor scenes
Pro Tip: The Sky Light works great with a Directional Light. Use Directional for the sun and Sky Light for the ambient blue light from the sky!
Sky light providing ambient lighting
2.8

Exercise: Place Each Light Type

Let's practice placing and experimenting with each light type:

  1. Create a new Basic level (File → New Level → Basic)
  2. Place a Directional Light and rotate it to light the scene from above
  3. Place a few cubes or spheres as test objects
  4. Add a Point Light near one object - see how it lights in all directions
  5. Add a Spot Light and rotate it to point at an object - notice the cone
  6. Add a Rect Light and adjust its size - see how shadows soften
  7. Add a Sky Light - notice how shadows fill in with ambient light
Experiment! Try moving lights, changing their colors, and seeing how they interact. The best way to learn is by playing around!

✅ Tutorial 2 Complete

  • You know all five light types in Unreal Engine
  • You can place lights in your scene
  • You understand when to use each light type
  • You've experimented with different lights hands-on

Tutorial 3: Light Properties

⏱️ 25-30 minutes

3.1

The Details Panel

When you select a light in your scene, the Details Panel (usually on the right) shows all the properties you can adjust. There are many options, but we'll focus on the most important ones.

Key Property Categories:
Light - Intensity, color, temperature
Lightmass - Static lighting settings
Transform - Position, rotation, scale
Rendering - Shadows, attenuation, advanced
Light properties in Details panel
3.2

Intensity

Intensity controls how bright the light is. In Unreal, intensity is measured in lumens - the same unit used for real-world light bulbs.

Real-World Reference:
• 100W Incandescent Bulb: ~1,700 lumens
• Candle: ~12 lumens
• 60W LED Bulb: ~800 lumens
• Car Headlight: ~1,200 lumens
• Direct Sunlight: ~120,000 lumens/m²

Common Starting Values:
Point Light (indoor): 1,000 - 5,000
Spot Light: 2,000 - 10,000
Directional Light (sun): 10 - 100
Don't Worry About Exact Numbers: Use these as starting points, then adjust by eye until it looks right for your scene!
Same light at different intensity values
3.3

Light Color

Light Color determines what color the light emits. This is incredibly powerful for setting mood and atmosphere.

Color Psychology:
Warm (Orange/Yellow) - Sunset, cozy, fire, lamps
Cool (Blue/Cyan) - Night, technological, moonlight
Green - Toxic, alien, mysterious
Red - Danger, hell, emergency
White - Neutral, daytime, clean
Additive Color: Remember that light colors are additive! A red light shining on a blue surface will make it purple.
Scene with different colored lights
3.4

Temperature

Temperature lets you set light color based on the Kelvin scale - the same system photographers use. This is perfect for realistic lighting!

Kelvin Scale Reference:
1,700K - Match flame (very warm orange)
2,700K - Incandescent bulb (warm yellow)
4,500K - Fluorescent tube (neutral)
5,500K - Daylight (slightly cool white)
6,500K - Overcast sky (cool white)
9,000K - Blue sky (cool blue)

// To use temperature:
1. Check "Use Temperature" checkbox
2. Adjust Temperature slider in Kelvin
Temperature scale from warm to cool
Pro Tip: Use warm temperature (2,700K) for indoor lamps and cool temperature (5,500K) for outdoor daylight. This instantly makes scenes feel more realistic!
3.5

Attenuation Radius

Attenuation Radius defines how far the light reaches before fading to zero. This is critical for performance!

How It Works:
• Light is brightest at the source
• Gradually fades based on inverse square law
• Reaches zero at the edge of the radius
• Visualized as a sphere (Point) or cone (Spot)

Performance Rule:
Smaller radius = Better performance
Larger radius = Affects more pixels = More expensive
Best Practice: Use the smallest radius that achieves the look you want. Don't make it 10,000 just because you can!
Attenuation radius visualization
3.6

Cast Shadows

The Cast Shadows checkbox determines whether this light creates shadows. Shadows are beautiful but expensive!

Cast Shadows = ON:
✓ Realistic depth and form
✓ Objects feel grounded
✓ Better visual quality
✗ More expensive performance

Cast Shadows = OFF:
✓ Much better performance
✓ Good for fill lights
✗ Objects can look flat
✗ Less realistic
Optimization Tip: Not every light needs shadows! Use shadows on your main lights (sun, key lights) but turn them off for fill lights and small accent lights.
Comparison of light with and without shadows
3.7

Spot Light Cone Angles

Spot Lights have special properties for controlling their cone shape:

Inner Cone Angle:
• The bright, focused area
• Measured in degrees (0-89)
• Smaller = more focused beam

Outer Cone Angle:
• The falloff area around the bright cone
• Must be larger than inner cone
• Creates soft or hard edge

// Examples:
Flashlight: Inner 10°, Outer 20° (tight beam)
Stage light: Inner 30°, Outer 45° (medium)
Ceiling lamp: Inner 40°, Outer 50° (wide)
3.8

Exercise: Create a Moody Scene

Let's practice using light properties to create atmosphere:

  1. Create a Basic level with some objects (cubes, spheres, etc.)
  2. Add a Directional Light as your "sun"
    • Set Intensity to ~3 (dim/moody)
    • Enable "Use Temperature", set to 3,500K (warm sunset)
    • Ensure "Cast Shadows" is enabled
  3. Add a Point Light as an accent light
    • Set Intensity to 2,000
    • Set color to orange (R: 1.0, G: 0.4, B: 0.1)
    • Set Attenuation Radius to 1,500
  4. Add a Spot Light for dramatic effect
    • Point it at your main object
    • Inner Cone: 15°, Outer Cone: 30°
    • Set color to cool blue
  5. Experiment! Adjust values and see how they affect the mood
Lighting is Art: There are no "wrong" settings - it's all about achieving the mood and atmosphere you want for your game!

✅ Tutorial 3 Complete

  • You understand Intensity and how to set realistic brightness
  • You can use Light Color and Temperature to set mood
  • You know how Attenuation Radius affects lighting and performance
  • You understand when to use Cast Shadows
  • You can control Spot Light cone angles
  • You created a moody scene using multiple light properties

Tutorial 4: Mobility Settings

⏱️ 20-25 minutes

4.1

What is Mobility?

Every light in Unreal has a Mobility setting that tells the engine: "Will this light move or change at runtime?" This setting has a massive impact on both quality and performance.

The Three Mobility Options:
Static - Never moves, baked into lightmaps
Stationary - Can't move, but can change brightness/color
Movable - Can do anything, calculated every frame
Think of it like cooking: Static is meal prep (done ahead), Stationary is warming up food (some prep, some real-time), Movable is cooking from scratch every time (all real-time).
Mobility dropdown in Details panel
4.2

Static Mobility

Static lights cannot move or change in any way at runtime. Their lighting is "baked" (pre-calculated) into textures called lightmaps.

Advantages:
✓ Highest quality lighting
✓ Best performance at runtime
✓ Supports indirect lighting (bounces)
✓ Very soft, realistic shadows

Disadvantages:
✗ Cannot move, rotate, or change
✗ Requires "Build Lighting" process
✗ Only works with static objects
✗ Takes up memory (lightmap textures)

Best For:
• Architectural lighting (ceiling lights)
• Sun/moon in non-dynamic day/night games
• Mobile games (performance critical)
Note: Static lighting is becoming less common with Unreal Engine 5's Lumen system, which provides real-time global illumination. However, it's still valuable for mobile or performance-critical games.
4.3

Stationary Mobility

Stationary lights are a hybrid: they can't move, but their brightness and color can change at runtime. Think of a light switch.

Advantages:
✓ High quality shadows and lighting
✓ Can change brightness and color
✓ Good performance
✓ Supports some indirect lighting

Disadvantages:
✗ Cannot move or rotate
✗ Limited number per area (overlapping)
✗ Still requires Build Lighting

Best For:
• Lights that turn on/off (switches)
• Lights that change brightness (dimmers)
• Main lighting in most modern games
• Directional lights (sun with day/night)
Common Use: Most professional games use Stationary for their main lights. It's the sweet spot between quality and flexibility!
4.4

Movable Mobility

Movable lights are fully dynamic - they can move, rotate, change color, change brightness, or do anything else at runtime.

Advantages:
✓ Complete freedom - can do anything
✓ Can move and rotate
✓ No build time required
✓ Immediate feedback

Disadvantages:
✗ Expensive performance cost
✗ Lower quality shadows than static
✗ No indirect lighting (no bounces)
✗ Can cause performance issues with many lights

Best For:
• Flashlights held by player
• Car headlights
• Projectiles (fireballs, bullets)
• Moving enemies with lights
• Any light that needs to move
4.5

Understanding Lightmaps

When you use Static or Stationary lights, Unreal bakes the lighting into special textures called lightmaps. These store pre-calculated lighting information.

What Lightmaps Store:
• Light intensity at each point
• Shadow information
• Color from colored lights
• Indirect lighting bounces

To Build Lightmaps:
1. Click "Build" in the toolbar
2. Select "Build Lighting Only"
3. Wait for it to complete (can take minutes)
4. Lighting quality improves dramatically
Important: With Unreal Engine 5's Lumen system, lightmaps are less critical. Lumen provides real-time global illumination without baking!
4.6

Performance Comparison

Here's a breakdown of how mobility affects performance:

Performance Cost (Low to High):
Static - Virtually free at runtime ⚡
Stationary - Low cost at runtime ⚡⚡
Movable - High cost at runtime ⚡⚡⚡⚡⚡

Quality (Low to High):
Movable - Good quality ⭐⭐⭐
Stationary - High quality ⭐⭐⭐⭐
Static - Highest quality ⭐⭐⭐⭐⭐

Flexibility (Low to High):
Static - Cannot change ❌
Stationary - Can change brightness/color 🟡
Movable - Complete freedom ✅
4.7

Choosing the Right Mobility

Here's a decision flowchart to help you choose:

Decision Guide:

// Question 1: Does it need to move?
YES → Use Movable
NO → Continue to Question 2

// Question 2: Does it need to change brightness/color?
YES → Use Stationary
NO → Continue to Question 3

// Question 3: Are you targeting mobile/low-end?
YES → Use Static
NO → Use Stationary (modern default)
Modern Advice: With Unreal Engine 5, most games use Stationary for main lights and Movable for dynamic elements. Static is mainly for mobile/optimization.
4.8

Exercise: Test Different Mobility Settings

Let's see the differences firsthand:

  1. Create three identical Point Lights in your scene
  2. Set the first to Static, second to Stationary, third to Movable
  3. Give each a different color so you can tell them apart
  4. Click Build → Build Lighting Only and wait for it to complete
  5. Compare the quality - notice how Static looks best
  6. Now click Play to start the game
  7. Try to move each light using Blueprint or during gameplay
    • Static won't move
    • Stationary won't move
    • Movable will move freely
Observation: Notice that even though all three lights look similar, only the Movable one has the freedom to move. That freedom comes at a performance cost!

✅ Tutorial 4 Complete

  • You understand the three Mobility settings
  • You know when to use Static, Stationary, and Movable
  • You understand lightmaps and building lighting
  • You can make informed performance vs quality tradeoffs
  • You tested different mobility settings hands-on

Tutorial 5: Practical Lighting Workflow

⏱️ 25-30 minutes

5.1

The Environment Light Mixer

The Environment Light Mixer is a powerful tool that lets you quickly set up and control all your main scene lights from one panel. It's like a lighting control board!

To Open Environment Light Mixer:
Window → Environment Light Mixer

What It Controls:
• Directional Light (sun/moon)
• Sky Light (ambient)
• Sky Atmosphere
• Exponential Height Fog
• All from one convenient panel
Time Saver: Instead of hunting for each light in the Outliner, control everything from this one panel!
Environment Light Mixer panel interface
5.2

Setting Up a Basic Lighting Scenario

Let's create a complete outdoor lighting setup from scratch:

  1. Create a new Basic level (File → New Level → Basic)
  2. You'll see it comes with default lighting - we're going to replace it
  3. In the Outliner, find the Lighting folder
  4. Delete everything inside (Directional Light, Sky Light, etc.)
  5. Now open Window → Environment Light Mixer
  6. Click Create All to add a complete lighting setup
What Just Happened? The mixer created a Directional Light (sun), Sky Light (ambient), Sky Atmosphere, and Height Fog - a complete professional setup in one click!
5.3

Controlling the Sun

In the Environment Light Mixer, you can control the sun's angle, color, and intensity:

Key Sun Controls:
Sun Height Angle - Time of day (0=sunrise, 90=noon)
Sun Brightness - Intensity of sunlight
Sun Direction - Which direction the sun shines from

Try These Settings:
Morning: Height Angle 15°, Warm color
Midday: Height Angle 90°, Bright white
Evening: Height Angle 10°, Orange/red
Night: Height Angle -20°, Use Sky Light only
5.4

Adding Volumetric Fog

Volumetric Fog adds atmosphere and god rays (light shafts) to your scene. It makes light visible in the air!

  1. In the Outliner, find ExponentialHeightFog (created by Env Light Mixer)
  2. Select it and look at the Details panel
  3. Find the Volumetric Fog section
  4. Check the Volumetric Fog checkbox to enable it
  5. Adjust these settings:
    • Scattering Distribution: 0.2 (how light scatters)
    • Extinction Scale: 0.5 (fog density)
    • Albedo: Keep at 1.0 (fog color)
Volumetric Fog settings in Details panel
God Rays: You should now see light rays coming through the fog! This is called volumetric lighting and it's stunning for atmospheric scenes.
5.5

Controlling Volumetric Scattering on Lights

Individual lights have a Volumetric Scattering Intensity property that controls how much they interact with fog:

To Adjust on Directional Light:
1. Select the Directional Light
2. In Details panel, find "Light" section
3. Look for "Volumetric Scattering Intensity"
4. Default is 1.0

Recommended Values:
Sun (day): 1.0 - 2.0 (strong god rays)
Moon (night): 0.2 - 0.5 (subtle rays)
Indoor lights: 0.5 - 1.0 (soft atmosphere)
5.6

Creating a Gloomy Atmospheric Scene

Let's put it all together to create a moody, atmospheric environment:

  1. Set Sun Height Angle to (low, dramatic)
  2. Set Sun Direction to create long shadows
  3. Enable Use Temperature on Directional Light, set to 3000K (warm sunset)
  4. Reduce Sun Brightness to 3-5 (dimmer)
  5. Enable Volumetric Fog on ExponentialHeightFog
  6. Set Volumetric Scattering Intensity on Directional Light to 1.5
  7. Increase Fog Density (Extinction Scale) to 1.0 for more atmosphere
  8. Add a few Point Lights as accent lights (warm orange color)
Final gloomy atmospheric scene with volumetric fog
Artistic Touch: Notice how the combination of low sun angle, warm color, and volumetric fog creates a dramatic, moody atmosphere? This is cinematic lighting!
5.7

Lighting Best Practices

Here are professional tips for lighting your scenes:

Three-Point Lighting:
Key Light - Main light (brightest, casts shadows)
Fill Light - Fills in shadows (softer, no shadows)
Rim Light - Behind subject (defines edges)

Performance Tips:
• Use as few shadow-casting lights as possible
• Keep attenuation radii small
• Use Stationary for main lights, Movable only when needed
• Don't overlap too many lights

Quality Tips:
• Use colored lights for atmosphere
• Contrast warm and cool lights
• Add volumetric fog for depth
• Study real-world lighting and photography
5.8

Final Exercise: Complete Scene Setup

Create a complete lighting setup from the original PDF exercise:

  1. Create a new Basic level
  2. Delete everything under the "Lighting" folder in the Outliner
  3. Use Environment Light Mixer to create a complete setup (Create All)
  4. Experiment with different times of day by adjusting Sun Height Angle
  5. Enable and configure Volumetric Fog:
    • ExponentialHeightFog → Volumetric Fog checkbox
    • Adjust density and scattering
  6. Adjust Volumetric Scattering Intensity on your Directional Light
  7. Add some Point or Spot lights for accent lighting
  8. Experiment! Try different moods: bright midday, moody sunset, eerie night
Challenge: Try to recreate different times of day and weather conditions. How would you light a foggy morning? A stormy afternoon? A clear night with moonlight?

✅ Tutorial 5 Complete

  • You can use the Environment Light Mixer
  • You know how to set up complete lighting scenarios
  • You can add and control volumetric fog
  • You understand volumetric scattering intensity
  • You created a complete atmospheric scene from scratch
  • You know professional lighting best practices

What's Next?

🌍 Advanced Lighting

Learn about IES profiles, light functions, advanced shadows, and cinematic lighting

☀️ Dynamic Time of Day

Create day/night cycles with Blueprint, animate the sun, change lighting at runtime

🎨 Post Processing

Combine lighting with post-process volumes for bloom, color grading, and effects

⚡ Lumen & Ray Tracing

Explore Unreal Engine 5's real-time global illumination and hardware ray tracing

Additional Resources

Congratulations!

You've completed the Lighting & Rendering Tutorial! You now have the foundational knowledge to create professional lighting in Unreal Engine. Remember: great lighting is about observation and experimentation. Study how light works in the real world, and keep practicing!