Sub topic 11
Lighting in Cycles versus EEVEE
This chapter assumes you can move around the 3D viewport and work in the Properties and Shader Editor panels. It also assumes you have rendered a scene with both engines at least once. It covers how the same lamps and HDRI world behave differently in each engine, and how to plan for that.
Two different ways to compute light
Cycles is a path tracer. For each pixel it fires rays into the scene, bounces them off surfaces, and collects light from lamps, the World and emissive materials. Shadows, reflections and indirect light come from the same process, so they stay consistent with each other. The cost is noise: each pixel is an average of random samples, and you need enough samples to smooth it out.
EEVEE is a real-time rasterizer. It draws the geometry the way a game engine does and then approximates lighting effects using shadow maps, light probes (stored captures of the surrounding lighting) and screen-space tricks. The result is fast and nearly noise-free, but each effect is a separate approximation. Any of them can fail on its own.
The practical consequence is that Cycles gives you physically consistent results when you place lights sensibly. EEVEE gives you an almost identical look in simple scenes, and you must check each approximated effect in complex ones.
What stays the same
Both engines use the same light objects, and they interpret power in the same units:
- The lamp types are the same: Point, Sun, Spot and Area.
- Power is in watts for Point, Spot and Area lamps, and Sun strength is in W/m². The numbers carry over between engines, so a 1000 W area light gives a similar brightness in either one.
- Lamp size still controls shadow softness, as described in the earlier chapters on light physics and lamp properties.
- The World shader with an Environment Texture and Background node lights the scene in both engines.
- Exposure and the view transform live in the scene's Color Management settings and apply equally to both.
This shared base means you can build a lighting setup once and switch engines to compare.
Where they differ
| Effect | Cycles | EEVEE |
|---|---|---|
| Indirect light (bounce) | Computed automatically by ray bounces | Approximated with light probes and screen-space methods |
| Shadows | Ray-traced, exact softness from lamp size | Shadow maps, filtered, with resolution and bias limits |
| World lighting | Sampled directly, shadowed by geometry | Captured into a probe; shadowing is approximate |
| Reflections of off-screen objects | Correct | Depend on probes and screen-space data |
| Transparent and glass shadows | Handled by ray tracing | Needs per-material settings, often approximate |
| Render time | Seconds to hours, depends on samples | Fractions of a second to seconds |
| Noise | Present, controlled by samples and denoising | Almost none |
Indirect light
In Cycles, a red wall tints a nearby white floor with no extra setup. In EEVEE the same bounce only appears if the engine has data for it. Depending on your Blender version, that means baking light probes or enabling the engine's ray-tracing option, which uses screen-space information. Anything outside the camera view, or hidden behind another object from the camera, can be missing from the result.
Shadows
Cycles calculates the shadow from the lamp's real size, so a large area light produces a wide penumbra (the soft edge of a shadow) that is physically correct. EEVEE renders shadow maps. Soft shadows are possible, but you may see light leaking at thin walls, a gap at contact points or stair-stepped edges. Fixes usually mean raising the shadow resolution or filtering and adjusting bias values. Blender 4.2 and later use a newer EEVEE with virtual shadow maps that reduce these problems, but they have not been eliminated entirely.
HDRI lighting
A Cycles World texture is sampled like a huge light source surrounding the scene. Bright spots such as a sun in the HDRI cast sharp shadows. EEVEE turns the World into a probe, so the overall color and brightness transfer well, but a small, intense sun in the image can produce weak or soft shadows. If shadows from the HDRI matter, add a Sun lamp aimed to match the sun in the image, as covered in the chapter on combining an HDRI with lamps. In newer EEVEE versions the World settings also include an option that extracts a sun from the HDRI, which you can use instead.
Lamp features that only exist in one engine
Some lamp settings are per-engine. Cycles has per-light options for shadow casting, bounce contribution and importance sampling. EEVEE has its own shadow settings on each light. Light linking, covered later in this tutorial, is a Cycles feature. If you switch engines, open the Light properties tab again and check what changed.
Switching engines safely from a script
The engine identifier for EEVEE has changed between Blender versions. In 4.2 to 4.5 it is 'BLENDER_EEVEE_NEXT', while older and newer versions use 'BLENDER_EEVEE'. A script that works across versions should read the list of available engines instead of hard-coding one name.
import bpy
scene = bpy.context.scene
# Read the engine identifiers this Blender build accepts
engines = {
item.identifier
for item in scene.render.bl_rna.properties["engine"].enum_items
}
eevee_id = "BLENDER_EEVEE_NEXT" if "BLENDER_EEVEE_NEXT" in engines else "BLENDER_EEVEE"
def use_cycles(samples=128):
scene.render.engine = "CYCLES"
scene.cycles.samples = samples
scene.cycles.use_denoising = True
def use_eevee():
scene.render.engine = eevee_id
use_cycles()
print("Cycles:", scene.render.engine)
use_eevee()
print("EEVEE:", scene.render.engine)Scene settings such as scene.cycles.samples stay stored when you switch engines, so you can alternate without losing them.
A workflow that uses both
A common approach is to light in EEVEE and finish in Cycles, or the reverse, depending on the project.
- Block out the lighting in EEVEE. Place the key, fill and rim lamps and set the HDRI rotation while the viewport updates instantly.
- Switch to Cycles and render a small region or a low-sample preview. Compare the shadow softness, bounce light and HDRI shadows with what EEVEE showed.
- Adjust lamp power and size. If a lamp looks right in one engine and wrong in the other, check the engine-specific settings first. Changing the power should be a last resort.
- Choose the final engine based on the shot. Cycles suits interiors, glass and anything depending on bounce light. EEVEE suits animation with tight deadlines, stylized work and product shots with simple surroundings.
Common errors
- EEVEE looks flat and Cycles looks rich. The scene relies on bounce light that EEVEE has no data for. Enable the engine's indirect lighting features or bake probes, or add a faint fill lamp.
- Shadow edges are jagged or light leaks at corners. Raise the shadow resolution or filtering, and check the bias settings on the light. Make sure walls have thickness.
- The HDRI looks right but casts no clear shadow in EEVEE. The sun in the image is too small to produce a shadow from the World probe. Add a matching Sun lamp.
- A lamp looks too bright after switching engines. The cause is often a different exposure or view transform in your Color Management settings, not the engine. Compare those first.
- A script crashes with an invalid enum value. It hard-coded an EEVEE identifier from another Blender version. Use the engine check shown above.
Exercise
A scene is lit by an HDRI and shows crisp, clearly directed shadows in Cycles. In EEVEE the same scene looks similar in color, but the shadows are faint and hard to see. Name the most likely cause and two ways to fix it.
Show answer
EEVEE captures the World into a probe, so a small bright sun in the HDRI does not produce a strong, directed shadow the way Cycles does when it samples the World directly. Fixes: add a Sun lamp that matches the sun's direction in the HDRI, with a strength chosen so the lighting still balances. Or use the World's sun extraction option, if your Blender version provides it, so EEVEE produces a shadow from the brightest part of the HDRI.
Exercise
Why should a script that sets the render engine to EEVEE read the available engine identifiers instead of assigning a fixed string?
Show answer
The identifier for EEVEE differs between Blender versions ('BLENDEREEVEE' in some, 'BLENDEREEVEE_NEXT' in 4.2 to 4.5). Assigning a name the running build does not accept raises an error, so the script should check the engine's enum items and pick a valid one.