ShapeDiver Help Center

Depth of Field

Depth of field is a post-processing effect used in computer graphics and video games to mimic the selective focus of a camera lens. It simulates the way in which a camera lens can keep a specific area of a scene in sharp focus while blurring the foreground and background, creating a sense of depth and drawing attention to the focused subject.

Postprocessing Package Reference



Properties

Name

Descriptions

BlendFunction

How the original image and the effect are blended together, in most cases it does not make sense to deviate from the default value.

bokehScale

The scale of the bokeh blur.

focalLength

The focal length.

focusDistance

The normalized focus distance.

focusRange

The focus range.