01 / 21

Depth of Field
Focus Controls in Blender

Master depth of field to create cinematic renders with realistic bokeh, selective focus, and professional camera effects in Blender's viewport and Cycles/EEVEE engines.

Blender 3D Camera & Rendering

What Is Depth of Field?

Depth of field (DoF) is the range of distance in a scene that appears acceptably sharp. Objects inside this range look crisp; objects outside it become progressively blurred. In real photography, DoF is a natural consequence of how lenses focus light. In Blender, you simulate it to add realism and direct the viewer's eye.

Key Terminology

Focus Distance
The distance from the camera at which objects are perfectly sharp.
F-Stop
Controls how wide the virtual aperture opens. Lower \( f \)-stop = shallower DoF.
Bokeh
The aesthetic quality of the blur in out-of-focus areas: shape, smoothness, and character.

Why DoF Matters in 3D Rendering

1
Guides the viewer's eye. Selective focus draws attention to the subject you want the audience to notice first.
2
Adds realism. Real cameras always have DoF. A render without it looks flat and "CG."
3
Creates depth perception. Blur cues help the brain separate foreground, midground, and background layers.
4
Sets mood and style. Shallow DoF feels intimate; deep DoF feels expansive and cinematic.

The Core Relationship

Camera Near Blur In Focus Far Blur Focus Distance

Understanding \( f \)-Stop

The \( f \)-stop (also written \( f/N \)) describes the aperture size. In Blender's camera settings, a lower \( f \)-stop means a wider aperture and shallower DoF. A higher \( f \)-stop means a narrower aperture and deeper DoF.

\( f/1.4 \)
Shallow DoF
\( f/5.6 \)
Medium DoF
\( f/22 \)
Deep DoF
Increasing \( f \)-stop → Deeper DoF

Focus Object vs Focus Distance

Focus Object Focus Distance
How It Works Camera auto-focuses on a selected object You set a manual distance value in meters
Tracks Motion? ✓ Yes: follows the object through animation ✕ No: stays fixed unless keyframed
Best For Character close-ups, tracking shots Still life, architectural, controlled scenes
Setup Drag an object into the Focus Object field Enter distance or use eyedropper

Blender's DoF Panel Walkthrough

Depth of Field ✓ Focus Object Empty.Focus Distance
\( 5.200 \, \text{m} \)
Aperture F-Stop 2.800 Blades 0 (Circle) Rotation 0.000 Ratio 1.000 Target lock Blur amount Bokeh shape

Step-by-Step Setup

1
Select your camera in the outliner or viewport, then open the Object Data Properties tab (camera icon).
2
Enable Depth of Field by checking the box in the DoF section.
3
Set your focus target. Either drag an object into the Focus Object field, or enter a manual distance in meters.
4
Adjust the F-Stop. Start at \( f/2.8 \) for a noticeable blur, then fine-tune. Lower = more blur.
5
Preview in the viewport. Switch to Camera View (Numpad 0) and enable viewport DoF to see the blur in real time.
6
Render and refine. Final renders in Cycles will show accurate bokeh. EEVEE approximates it (enable High Quality in settings).

DoF in Cycles vs EEVEE

Cycles
Physically accurate DoF computed via ray tracing. Bokeh naturally emerges from aperture simulation. Higher samples reduce noise in blurred areas.
EEVEE
Post-process blur approximation: fast but less accurate. Enable "High Quality" in DoF settings. May show artifacts at extreme blur or object edges.

Example 1: Portrait Setup

Camera Subject SHARP Background BLURRED Settings
\( f/2.8 \) | Focus: Suzanne

Example 2: Product Close-Up

Camera Foreground Product SHARP Bokeh lights Settings
\( f/1.4 \) | Distance: \( 0.5 \, \text{m} \) | 6 Blades

Example 3: Landscape with Tilt-Shift

For landscapes, you often want deep DoF to keep everything sharp. But sometimes a tilt-shift effect (extreme shallow DoF on a wide scene) creates a striking miniature look. Blender lets you do both.

Deep Landscape
Set \( f/11 \) to \( f/22 \). Focus at the hyperfocal distance: roughly one-third into the scene. Everything from foreground to horizon stays sharp.
Tilt-Shift Effect
Set \( f/1.4 \) to \( f/2.0 \). Focus on a narrow band. The extreme blur above and below the focus band makes real buildings look like toy models.

Shaping Bokeh

0 Blades Perfect Circle 5 Blades Pentagon 6 Blades Hexagon 8 Blades Near-Circle

Common Mistakes

✕ DoF Not Enabled
You set the F-Stop but forgot to check the Depth of Field checkbox. The render comes out fully sharp.
✕ Focus on Origin
Focus Object targets the object's origin, which may be at the feet or base: not the face. Use an Empty placed at eye level instead.
✕ F-Stop Too Low
Cranking the \( f \)-stop to 0.5 creates an extremely thin focal plane. Even the subject's nose and ears are blurry. Use \( f/1.4 \) to \( f/2.8 \) for most shots.
✕ EEVEE Artifacts
EEVEE's post-process DoF can produce visible halos around sharp edges. Enable "High Quality" and increase Max Size to reduce artifacts.
✕ Low Samples in Cycles
DoF blurred regions are noisier than sharp areas. If your render looks grainy in the background, increase sample count or use a denoiser.

Quick Reference Table

Setting Effect Typical Values
F-Stop Controls blur strength \( f/1.4 \) (shallow) to \( f/22 \) (deep)
Focus Object Auto-tracks a target Any mesh or Empty
Focus Distance Manual focus point \( 0.5 \, \text{m} \) to \( 100+ \, \text{m} \)
Blades Bokeh shape 0 (circle), 5-8 (polygon)
Rotation Tilts bokeh polygon \( 0^\circ \) to \( 360^\circ \)
Ratio Stretches bokeh (anamorphic) 1.0 (normal) to 2.0+

Question 1 of 5

What does a lower F-Stop value produce in Blender's depth of field?

Question 2 of 5

You want the camera to automatically stay focused on a character as they walk through a scene. Which method should you use?

Question 3 of 5

What does the Blades setting control in Blender's DoF aperture?

Question 4 of 5

A student's render has visible halos around sharp objects where they meet the blurry background. They are using EEVEE. What is the most likely fix?

Question 5 of 5

For a product close-up render where the camera is only \( 0.5 \, \text{m} \) from the subject, which \( f \)-stop range would create the most dramatic bokeh?