Adding a Depth of Field Node - Lumberyard User Guide

Adding a Depth of Field Node

You can use the Depth of Field (DOF) node to add realism to scenes to simulate the way a real-world camera works. You can use a broad depth of field to focus on the entire scene, or use a shallow depth of field to have sharp focus only on objects that are a specific distance from the camera.

To add a Depth of Field node in the Track View

  1. In the Track View, right-click the sequence (top node) or the Director node in the tree as applicable, and then choose Add Depth of Field Node.

  2. For each of the keys listed below, click the applicable key listed under the DepthOfField node.

  3. Double-click to position the key on its highlighted row in the timeline.

  4. Double-click the green marker, and under Key Properties, enter a value for Value.

Depth Of Field Node Key Properties
Property Description
Enable Enables or disables depth of field effect.
FocusDistance Distance the focus is from the camera. Positive values are in front of the camera while negative values are behind the camera.
FocusRange Distance toward and away from the camera until maximum blurriness is reached. By default, this value is twice the FocusDistance value.
BlurAmount Maximum blurriness value.