Sub topic 5
How Each Engine Handles Light, Shadows and Global Illumination
This chapter assumes you can add lights and a camera, assign a Principled BSDF material, and render a still with F12. It also assumes you know the basic difference between rasterization and path tracing from the previous chapter. Here you will see how that difference shows up in direct light, shadows and indirect (bounced) light, and what you must set up yourself in each engine.
Three Parts of Lighting
Lighting in a render has three parts. Each engine handles them differently.
- Direct light is light that travels from a light source to a surface and then to the camera.
- Shadows are the places where an object blocks direct light.
- Global illumination (GI) is light that bounces off one surface and lights another. A red wall tinting a white floor is the usual example. Without GI, anything not directly lit is black or falls back on a flat ambient term.
Cycles computes all three with the same method: it follows light paths. EEVEE computes each with a separate technique, so each can be switched on, tuned or approximated on its own.
Cycles: One Mechanism for Everything
Cycles traces paths from the camera into the scene. At each surface hit it picks a direction based on the material and continues, up to a bounce limit. It also tries to connect each hit point to the lights. The average over many such paths gives the pixel value.
Because every path is a physical light path, three things come for free:
- Shadows appear wherever a path to a light is blocked.
- Soft shadows come from the light's size. A larger light radius gives a wider penumbra, the soft edge of a shadow.
- Indirect light appears wherever paths bounce from one surface to another. This includes colour bleeding and light that enters a room through a window and reaches dark corners.
You do not enable these effects separately. You control cost and quality through how many paths you trace (samples, covered in a later chapter) and how far each path may travel (bounces).
Light Paths Settings
The Render > Light Paths > Max Bounces panel limits the number of bounces by type:
| Setting | What it limits | Typical symptom when too low |
|---|---|---|
| Total | Overall path length | Dark interiors, missing indirect light |
| Diffuse | Bounces off rough surfaces | Little colour bleeding, dark corners |
| Glossy | Bounces off shiny surfaces | Mirrors and shiny objects show black reflections of other shiny objects |
| Transmission | Passes through glass and similar | Glass looks dark or opaque |
| Volume | Scattering inside fog and smoke | Thin, dark volumes |
| Transparent | Passes through transparent surfaces | Black areas behind stacked transparent layers |
Lowering the limits shortens each path, which speeds up the render and removes some light. Raising them does the opposite. Past a certain point extra bounces add almost no visible light, so the default of 12 total bounces is a reasonable starting point.
Two related settings help with noise:
- Clamping caps the brightness a single sample can contribute. It removes "fireflies", isolated bright pixels, but it also darkens real highlights if set too low.
- Caustics are bright patterns such as the light pool under a glass of water. Cycles can produce them only inefficiently, and they are disabled by default through the Filter Glossy and caustics options. Expect speckle noise if you enable them.
Controlling Light in Cycles
Lights in Cycles are real emitters with a size. A point light with radius 0 casts hard shadows and is hard to sample. A light with a larger radius is easier to sample and gives softer shadows. Emissive materials also light the scene, and any mesh with an emissive shader acts as an area light.
Cycles also uses a light tree (on by default in recent versions). When a scene has many lights, it picks the lights most likely to matter at each point instead of sampling them evenly. Scenes with dozens of small lights render far cleaner with it than without.
For interiors lit only through a window, noise can be heavy because most paths never find the window. An Area light with Portal enabled, placed over the opening, gives the sampler a hint about where the light comes from.
EEVEE: Separate Techniques, Each Approximate
EEVEE does not trace full paths. It draws the geometry, then adds light effects with dedicated techniques. The details depend on the version.
- Blender 4.2 and later use the rewritten EEVEE (internally "EEVEE Next"). Shadows use virtual shadow maps, and indirect light uses light probes plus an optional ray-tracing mode that works on what is visible in the frame.
- Blender 4.1 and earlier use the original EEVEE. Shadows use shadow maps with cascade and cube settings, reflections use screen-space reflections, and indirect light needs baked light probes.
Check your version before following a guide, because the panel names differ.
Shadows in EEVEE
EEVEE renders a depth image from each light's point of view, called a shadow map. A surface is in shadow if something is closer to the light than it is. Quality depends on the map's resolution and filtering. Typical problems:
- Light leaking at thin walls or the edge of an object, where shadow depth is imprecise.
- Self-shadowing artifacts (acne), which appear as stripes on surfaces facing the light at a shallow angle.
- Blocky or noisy penumbras when the shadow settings are low.
Light radius still sets the softness, as in Cycles. A light's Shadow checkbox, and in Blender 4.2 and later the shadow quality options in Render properties, trade accuracy for speed. Most shadow problems in EEVEE trace back to these settings or to thin geometry, so thicken walls that leak light.
Global Illumination in EEVEE
EEVEE approximates bounced light from stored samples of the scene.
- Light probes capture lighting at a point in space. Volume probes store diffuse light for the space around them, and sphere probes store reflections. Plane probes give accurate reflections on flat mirrors and floors.
- The world (HDRI or sky colour) lights the scene as a distant source and is captured into a world probe.
- Screen-space effects (ray tracing in 4.2 and later, SSR and ambient occlusion in older versions) use only what is visible in the frame. Objects behind the camera or off-screen cannot contribute.
Two consequences matter in practice:
- Indirect light in EEVEE is only as good as the probes you place and bake. A room with no volume probe, or a stale bake after you moved a light, will look flat or wrong.
- Screen-space results change as the camera moves. A reflection that disappears when the reflected object leaves the frame is a sign you need a probe, not a different setting.
Where the Results Diverge
| Situation | Cycles | EEVEE |
|---|---|---|
| Colour bleeding in a closed room | Automatic | Needs probes or ray tracing |
| Light through a small window | Works, noisy without a portal | Often too dark unless probes or the world are set up |
| Soft shadows from large lights | Natural | Depends on shadow settings |
| Reflection of an off-screen object | Correct | Needs a probe |
| Many small lights | Light tree handles it | Cost grows with each shadowed light |
| Animation with moving lights | No bake step | Probes may need rebaking or may flicker |
flowchart TDThe diagram below shows the same comparison as a flow of how each engine finds indirect light.
Setting Bounce Limits and Light Size from Python
The following script applies the Cycles bounce limits discussed above and widens the radius of every point light so shadows soften. Setting the radius works the same way in both engines, because it is a property of the light.
import bpy
scene = bpy.context.scene
scene.render.engine = 'CYCLES'
cycles = scene.cycles
cycles.max_bounces = 8
cycles.diffuse_bounces = 4
cycles.glossy_bounces = 4
cycles.transmission_bounces = 8
cycles.volume_bounces = 0
cycles.transparent_max_bounces = 8
for obj in scene.objects:
if obj.type == 'LIGHT' and obj.data.type == 'POINT':
obj.data.shadow_soft_size = 0.3Render once with these values and once with the defaults. Compare the corners of a room and any glass objects to see which bounce type affects which area.
Choosing How to Work
- If light must be physically believable with little setup, such as an architectural interior, Cycles is the safer choice. It does the bouncing for you.
- If you control the set, as in a product shot with a few lights or a stylised animation, EEVEE can look equivalent. You add light probes where needed and accept approximations.
- If you move between engines, keep lights as real-sized lights with sensible radii and keep geometry watertight. Both habits help in both engines.
Exercise
A room lit by one window looks correct in Cycles, but in EEVEE the corner far from the window is nearly black and a mirror shows nothing of the lamp behind the camera. Name the cause of each problem and one fix for each.
Show answer
The dark corner is missing indirect light. Cycles gets it by bouncing paths, while EEVEE needs a light probe (a volume probe in the room, baked if your version requires it) or ray tracing in 4.2 and later. The missing lamp in the mirror is a screen-space limit: EEVEE only reflects what is visible in the frame, and the lamp is behind the camera. A reflection probe (sphere or plane) placed near the mirror supplies it.
Exercise
In Cycles, you lower Max Bounces > Transmission from 12 to 2 and a glass sphere turns dark. Why?
Show answer
A ray entering a glass object has to cross the front surface and the back surface at minimum, and often bounces inside. With only 2 transmission bounces the path is cut off before it exits and reaches the light, so the sphere receives little light and looks dark. Raising the limit restores the light.