Sub topic 3
Choosing a render engine
This chapter assumes you can navigate the Properties editor, have a scene with a camera and a light, and know what a render is at the level of the previous chapter. It covers the three engines that ship with Blender, what each is good at, and how to select one from the interface and from Python.
What a render engine does
A render engine is the program inside Blender that turns your scene (geometry, materials, lights, camera) into pixels. The same scene can be rendered by different engines. Each engine makes a different trade between speed, physical accuracy, and the features it supports.
Blender ships with three engines:
- EEVEE is a real-time engine. It uses rasterization, the same family of techniques used by video games, and approximates lighting effects.
- Cycles is a path tracer. It simulates light rays bouncing through the scene, which gives physically based results at a higher cost in time.
- Workbench is a simple engine for previews and layout. It does not simulate realistic light and materials.
You choose the engine per scene. It is stored in the .blend file, so the choice travels with the file.
Selecting the engine
Open the Render tab in the Properties editor. The Render Engine drop-down at the top lists the available engines. Changing it swaps the panels below it, because each engine has its own settings.
In Python, the engine is a string on scene.render.engine:
import bpy
scene = bpy.context.scene
print("Current engine:", scene.render.engine)
scene.render.engine = 'CYCLES'
print("New engine:", scene.render.engine)The identifier strings depend on the Blender version. Cycles is always 'CYCLES' and Workbench is 'BLENDER_WORKBENCH'. EEVEE has changed names: Blender 4.2 and later use 'BLENDER_EEVEE_NEXT', and versions before 4.2 use 'BLENDER_EEVEE'. Blender 5.0 and later return to 'BLENDER_EEVEE' for the new EEVEE. If an assignment raises a TypeError that lists the allowed values, your version uses a different name. You can list the valid names directly:
import bpy
engines = bpy.types.RenderSettings.bl_rna.properties["engine"].enum_items
for item in engines:
print(item.identifier, "-", item.name)Comparing the engines
| Property | EEVEE | Cycles | Workbench |
|---|---|---|---|
| Method | Real-time rasterization | Path tracing | Simple viewport shading |
| Typical speed | Seconds per frame or less | Seconds to many minutes per frame | Very fast |
| Lighting accuracy | Approximated | Physically based | No realistic lighting |
| Noise | None from sampling, but some effects are approximate | Noisy until enough samples or denoising | None |
| Hardware | GPU required | CPU, and GPU through CUDA, OptiX, HIP, Metal, or oneAPI | CPU or GPU |
| Best for | Stylized work, previews, fast animation | Final quality, realism, complex light | Layout, blocking, quick drafts |
Speed figures depend on scene complexity, resolution, and hardware, so treat them as relative, not as promises.
EEVEE
EEVEE computes an image by projecting geometry onto the screen and shading it. Effects such as reflections, shadows, ambient occlusion, and global illumination are produced by approximations such as screen-space tracing, shadow maps, and light probes. The result is fast, and you can often render a full animation in the time Cycles needs for a few frames.
The cost is accuracy. Reflections of objects that are off-screen may be missing. Glass, refraction, and light that bounces several times can look different from Cycles. Some effects need extra setup, such as reflection probes or shadow settings.
EEVEE is a good choice when:
- the look is stylized or non-photorealistic;
- you need many frames quickly;
- you iterate on lighting and materials and want near-instant feedback;
- the final output is a video where small inaccuracies are hidden by motion.
Cycles
Cycles traces paths of light from the camera into the scene. At each surface a ray scatters according to the material, and the engine averages many such paths per pixel. More paths (more samples) give a cleaner image. Because every path follows physical rules, effects such as soft shadows, caustics from refraction, color bleeding, and accurate glass arise without special setup.
The cost is time. A frame can take minutes at high quality. Cycles also shows visible grain, called noise, when the sample count is low. The next chapter covers samples and denoising in detail. Here it is enough to know that Cycles quality is a dial you set against render time.
Cycles can use the CPU, the GPU, or both. Under Edit > Preferences > System you choose a compute device type. In the Render tab, the Device setting then selects CPU or GPU Compute for the scene. A GPU is usually much faster than a CPU for the same quality, but a very large scene may not fit in GPU memory, and then the CPU is the fallback.
import bpy
scene = bpy.context.scene
scene.render.engine = 'CYCLES'
# Use the GPU for this scene. This only has an effect if a compute
# device type is enabled in Preferences > System.
scene.cycles.device = 'GPU'If no GPU device is enabled in the preferences, Blender falls back to the CPU. The script does not fail, so check the Preferences when a render is slower than you expect.
Workbench
Workbench shades surfaces with flat or simple lighting, with options for matcap, object color, and outlines. It ignores your lights and most of your material setup. It is the fastest engine and is often used to check composition, timing, and camera moves before spending time on a quality render.
It can also produce a deliberate technical or illustrative look, for example a clay-style render or a line-heavy view. For a final render of a material-rich scene it is usually the wrong choice.
Which engine for a still and which for an animation
The choice depends on how the render time multiplies. A still is one frame, so you can afford a long render. An animation multiplies the per-frame cost by the number of frames.
Consider a 120-frame clip. If Cycles takes 4 minutes per frame, the total is 480 minutes, or 8 hours. If EEVEE takes 10 seconds per frame, the total is 1200 seconds, or 20 minutes. The numbers are examples, but the arithmetic is the point: estimate with one test frame, then multiply.
A practical workflow is:
- Block out the shot with Workbench.
- Switch to EEVEE while adjusting lights and materials.
- Render a test frame with the final engine and check time and quality.
- Choose the final engine from the result, not from habit.
Common mistakes and edge cases
- Materials look different after switching. Materials built from Principled BSDF nodes mostly carry over, but some settings apply to one engine only. Blend modes, shadow modes, and some node outputs behave differently. Always check after switching.
- Lights and world. Both engines use lights and the world background, but soft shadows, light threshold, and bounce light are controlled by different settings. Do not expect a scene tuned for EEVEE to match Cycles without adjustment.
- Render engine is per scene. If a file has several scenes, each has its own engine. A script that sets
bpy.context.sceneaffects only the active scene. - Headless machines. EEVEE needs a working OpenGL or graphics context, which some servers and containers do not provide. Cycles on the CPU runs on almost any machine, so it is the safer choice for a render server without a GPU. This matters in the command-line chapter.
- Version differences. EEVEE was rewritten in Blender 4.2, and its panels and settings changed. A script or tutorial for an older version may reference properties that no longer exist.
- Add-on engines. Add-ons can register more engines, which then appear in the same drop-down. A file that uses one fails to render the same way on a machine without the add-on.
Setting the engine and checking it from a script
This script sets the engine from a name, checks that the name is valid for the running version, and reports a clear error otherwise.
import bpy
def set_engine(scene, name):
items = bpy.types.RenderSettings.bl_rna.properties["engine"].enum_items
valid = [item.identifier for item in items]
if name not in valid:
raise ValueError(f"{name!r} is not available. Choose from {valid}")
scene.render.engine = name
return scene.render.engine
scene = bpy.context.scene
print("Engine set to:", set_engine(scene, 'CYCLES'))Failing early with a list of valid names is more useful than a render that silently uses the wrong engine.
Summary of the decision
Use Cycles when accuracy matters more than time, EEVEE when speed or a stylized look matters, and Workbench for layout and drafts. Confirm with one test frame, because scene content and hardware change the result.
Exercise
A 240-frame animation takes 90 seconds per frame in Cycles and 6 seconds per frame in EEVEE. How long does each take in total, and what two things should you check before choosing EEVEE for the final render?
Show answer
Cycles: 240 × 90 s = 21,600 s = 6 hours. EEVEE: 240 × 6 s = 1,440 s = 24 minutes. Before choosing EEVEE, render a test frame and check that the image quality is acceptable (reflections, shadows, glass, and other effects that EEVEE approximates), and check that the Blender version's EEVEE identifier and settings match what your script or machine uses.
Exercise
A script sets scene.render.engine = 'BLENDEREEVEENEXT' and raises a TypeError on another machine. What is the likely cause, and how can you find the valid values?
Show answer
The other machine runs a Blender version where that identifier does not exist, for example a version before 4.2 that uses 'BLENDEREEVEE', or 5.0 and later, which use 'BLENDEREEVEE' again. List the valid names with bpy.types.RenderSettings.blrna.properties["engine"].enumitems and print each item's identifier.