Skip to content
SPBokeh Documentation
Buy SPBokeh

Advanced transitions & occlusion

Platforms
After Effects, Premiere Pro
Depth or focus matte
Depends on the control

The Advanced group is for shots where the depth-driven result is almost right, but boundaries, foreground/background separation, or changing defocus still need attention. You can leave these settings alone for a first pass.

Keep the subject out of background bokeh

At background pixels, BG Exclude drops the sharper samples that carry the subject's color, so the subject stops tinting the bokeh around it. That bright rim at the subject's edge is what the control removes; a sharp subject never gathers background samples in the first place. Subject Range shifts the matte weighting used by this isolation. A positive value treats more transition pixels as part of the subject; a negative value tightens that region.

Start by adjusting BG Exclude, then fine-tune Subject Range while looking at a clearly defined subject edge. Subject Range only changes the occlusion result when BG Exclude is active. Neither can fully repair a badly aligned depth map.

Control the focus transition

Focus Range sets a clear zone around the selected depth. Focus Falloff determines how gradually that zone becomes blurred in Smooth mode. Falloff Curve can switch between Smooth and Linear for real depth maps. In Linear mode, Focus Falloff is not used for depth calculations; the blur follows a linear mapping of distance from the clear zone instead.

An AE external Mask Layer used without true depth always follows a Smooth focus-map calculation, even if the saved Falloff Curve value is Linear.

Smooth changing defocus

Opacity Fade fades the bokeh layer into areas as they become out of focus. Defocus Blend smooths abrupt differences between neighboring out-of-focus depths. Use Opacity Fade when the effect appears to enter too suddenly; try Defocus Blend when a depth map produces visible steps in blur size.

Repair edges

Edge Guide uses differences in the original RGB image to help guide soft-edge filtering. It has no effect when Edge Feather = 0. Anti-Aliasing detects and reconstructs some hard depth contours; it stops participating when Edge Feather ≥ 0.075. Whether you see a change depends on the kind of boundary in the footage.