Sub topic 3
EEVEE: real-time rendering and its settings
This chapter assumes you can navigate Blender and use the Properties editor, build materials with the Principled BSDF, place lights and a camera, and render a still image with F12. It explains how EEVEE builds an image, which settings control its speed and quality, and where it commonly goes wrong.
What EEVEE is
EEVEE is Blender's real-time render engine. It uses rasterization: each triangle in the scene is projected onto the screen, and the GPU works out which pixels it covers and what color they should be. The engine does not follow individual rays of light through the scene. Lighting effects such as shadows, reflections and ambient occlusion are produced by dedicated techniques, each of which approximates one part of how light behaves.
This is why EEVEE is fast. Rendering a frame takes from a fraction of a second to a few seconds, and the viewport in Rendered shading mode updates as you work. It is also why EEVEE is less physically exact than Cycles. Every effect is a separate approximation, and each approximation has conditions under which it breaks.
EEVEE runs on the GPU through OpenGL or Vulkan, so it needs a graphics card with a recent driver. It cannot render on the CPU alone.
How EEVEE builds a frame
The diagram shows the stages that produce the final image. Each stage has settings in the Render Properties tab.
EEVEE renders the frame several times with slightly shifted sample positions and averages the results. This is called temporal anti-aliasing accumulation. It smooths jagged edges and softens shadows. The number of repeats is the sample count, which is the first setting to know.
Sampling
In Render Properties > Sampling you set two values:
- Viewport samples control how much refinement you see while working in Rendered mode.
- Render samples control the final F12 or animation render.
EEVEE needs far fewer samples than Cycles. Values between 16 and 128 are typical for the Render field, and the default is 64. Raising it past about 128 usually gives little visible change. Noise in EEVEE comes mostly from the stochastic techniques behind soft shadows and ray-traced effects, and sample count averages that noise away.
The same fields are available from Python as scene.eevee.taa_render_samples and scene.eevee.taa_samples.
Shadows
Current EEVEE uses virtual shadow maps. These are shadow textures whose resolution adapts to what the camera sees, so you do not tune a resolution per light as in older versions. The main controls are:
- Shadows on or off for the whole scene.
- Rays and Steps, which set how finely soft shadows from large lights are estimated. More rays and steps give cleaner penumbras and cost more time.
- Volume Shadows, which lets lights cast shadows through volumes and costs extra.
- Light Threshold, which sets how far a light's influence is calculated. A higher threshold cuts the radius sooner, which is faster but can clip the light's falloff.
On each light, the Radius (or size) sets how soft its shadow is. A tiny radius gives hard shadows, and a larger radius gives wide, soft ones. In EEVEE 4.1 and earlier, shadow quality was set by Cube Size and Cascade Size, plus a Soft Shadows toggle. Low values produced blocky or light-leaking shadows.
Indirect light and reflections
Real light bounces. EEVEE fakes bounces with two layers.
Light probes store lighting captured at a point or area and apply it to nearby surfaces.
- A Volume probe stores diffuse lighting in a grid and gives indirect light to objects.
- A Sphere probe captures a reflection of the surroundings for glossy surfaces.
- A Plane probe renders a true mirror reflection on a flat surface.
Probes must be baked (the Bake button in the probe's properties) before they hold useful data. Until you bake, indirect light is missing or comes only from the world.
Ray tracing is an option in current EEVEE. When you enable Raytracing, EEVEE traces rays in screen space for reflections and refractions and falls back to probes where the screen has no information. The settings include:
- Method: Screen-Trace or Light Probe.
- Resolution: the fraction of full resolution used for tracing. Lower values are faster and blurrier.
- Denoise: cleans the traced result.
- Fast GI Approximation: a cheaper estimate of bounced light that you can use alone or with ray tracing.
Screen-space methods only know about what is visible in the frame. An object behind the camera or hidden behind another object cannot appear in a reflection. This is the most common cause of reflections that vanish at the edge of the frame or when an object moves out of view.
Older versions used Screen Space Reflections, Ambient Occlusion and Bloom as separate checkboxes. Current EEVEE removed Bloom. If you want a glow, use the Glare node in the compositor.
Volumes, film and effects
Volumetric rendering for fog and light shafts uses a grid of cells aligned to the camera. The Volumes panel has Resolution, which sets how coarse that grid is, Steps and Distribution. A low resolution produces blocky fog and flickering light shafts. Raising it improves the result and uses more memory.
The Film panel controls:
- Filter Size, which blurs pixels slightly to reduce aliasing. The default of 1.50 px is a good starting point.
- Transparent, which renders the world as transparent so you can composite the render over another image.
- Overscan, which renders extra area around the frame so screen-space effects have data at the edges.
Depth of Field is controlled by the camera's aperture and focus distance and works in EEVEE without extra panels. Motion Blur has its own panel with a Shutter value and Steps. In EEVEE, motion blur has limits, and fast rotating objects can show artifacts.
Material settings that matter in EEVEE
Most Principled BSDF inputs work in both engines. A few EEVEE-specific material settings affect results:
- Render Method (in older versions, Blend Mode): Dithered gives correct sorting and works with shadows but adds noise. Blended draws transparency in sorted order and can show sorting errors when transparent objects overlap.
- Backface Culling hides faces pointing away from the camera and is useful for single-sided surfaces.
- Displacement in EEVEE is limited. Bump works, and true displacement needs sufficient geometry.
Setting up EEVEE from Python
The EEVEE identifier string changed between versions, so look it up before assigning it:
import bpy
scene = bpy.context.scene
engine_ids = [item.identifier for item in scene.render.bl_rna.properties['engine'].enum_items]
eevee_id = next(e for e in engine_ids if e.startswith('BLENDER_EEVEE'))
scene.render.engine = eevee_id
eevee = scene.eevee
eevee.taa_render_samples = 64
eevee.taa_samples = 16
# Present only in Blender 4.2 and later
if hasattr(eevee, "use_raytracing"):
eevee.use_raytracing = True
print("Engine:", scene.render.engine, "render samples:", eevee.taa_render_samples)The hasattr check keeps the script from failing on older versions, where the property does not exist.
Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Scene looks flat, with no bounced light | Light probes not baked, or ray tracing off | Bake the probes, or enable Raytracing or Fast GI |
| Reflections disappear near the screen edge | Screen-space tracing has no off-screen data | Add a sphere or plane probe, or use Overscan |
| Noisy soft shadows | Too few shadow rays or steps | Raise Rays and Steps, or the render samples |
| Transparent objects flicker or sort wrongly | Blended render method | Switch to Dithered |
| Blocky fog | Volume resolution too low | Raise Volumes Resolution |
| Render fails or crashes at high settings | GPU memory exhausted | Lower resolution, textures or volume settings |
Exercise
A glossy floor in your EEVEE scene reflects a nearby wall correctly, but the reflection disappears when the wall is moved just outside the camera frame. Why does this happen, and what are two ways to fix it?
Show answer
The reflection comes from screen-space ray tracing, which can only reflect what is visible in the rendered image, so an object outside the frame gives it no data. Two fixes: add and bake a sphere or plane light probe so the reflection comes from captured data instead of the screen, or increase Film Overscan so the engine renders extra area around the frame and the wall remains available to the tracer.
Exercise
You want a final EEVEE render with cleaner soft shadows and no change to the viewport speed while you work. Which settings do you change, and why does this leave the viewport unaffected?
Show answer
Raise the shadow Rays and Steps, and raise the Render sample count. Keep the Viewport sample count low. Render samples apply only to the final F12 or animation render, while the viewport uses its own sample setting, so the working view stays responsive.