SmartTools
Project library

Control guide · SmartTools Composite

Blur a Scene at Ordinary Distances (Z-Depth Bokeh Blur)

The blur strength is set to match the lens and focus distance at the moment you click. Even in a scene where the objects in the back are about a dozen to 25m away, just clicking produces blur. This example places the Suzanne in front about 8m from the camera and the blue Suzanne at 25m, with the lens left at 50mm. Everything else is left as in a new scene, and the depth pass is off. Applying the effect enables it.

Starting scene demonstrated on a Suzanne in front and a blue Suzanne 25m away

Steps

  1. Set the camera's "Focus Distance" under "Depth of Field" to the distance to the Suzanne in front (about 8m here).
  2. Open the "Compositing" workspace at the top of the screen to show the Compositor.
  3. Select the "Smart Composite" tab in the Sidebar (N key).
  4. Open the "Effects / Presets" section header.
  5. In the "Preset to Add" list, choose "Z-Depth Bokeh Blur", then click "Apply Selected Effect".
  6. Render again (F12) and check the result.
  7. To weaken the blur, raise the F-stop of the "SCS Aperture Defocus" node.

Follow the changes on screen