Skip to content
SPBokeh Documentation
Buy SPBokeh

Masks & subject edges

Platforms
After Effects, Premiere Pro
Depth map
Optional

Use a focus mask when you need to design a clear region, and edge controls when the transition around a subject looks too hard, too soft, or slightly misaligned.

Use an external focus mask (After Effects)

Choose a grayscale Mask Layer when you want white areas to stay clear and dark areas to blur. Use it for a controlled focus region when you have no true distance information. If you also select a valid Depth Layer, the depth layer takes priority; the external masks aren't combined.

Use the Built-in Mask (both hosts)

  1. Open Built-in Mask and enable Enable.
  2. Adjust Size for the clear central area and Aspect for its shape.
  3. Move Built-in Mask > Center and rotate with Angle if needed.
  4. Use Feather to set a soft transition and Invert to swap the clear and blurred sides.
  5. Set View to Preview to inspect the resulting grayscale focus matte, then return to Final for normal output.

Influence controls how strongly the ellipse affects the result. With external depth, 0 keeps the depth-driven blur and 1 makes the ellipse control the base blur. Without external depth, reducing Influence fades the mask result toward an entirely sharp image.

Refine a depth edge

Matte Expand expands bright regions of an input depth or focus map at positive values and erodes them at negative values. Edge Feather softens the resulting focus edge. They solve different problems: one changes the region, the other changes the transition across its border.

If a bright subject color bleeds into the background bokeh around it, BG Exclude in Advanced may help. For edges that cross visible RGB boundaries, Edge Guide can reduce unwanted feathering across the subject boundary.

Original Matte Expand Edge Feather