Skip to content
SPBokeh Documentation
Buy SPBokeh

Foreground blur

Platforms
After Effects, Premiere Pro
Depth information
Required

Out-of-focus objects close to the lens can spread across the image and overlap a sharper background. Foreground Blur provides a separate near-field pass to create that kind of overlap.

Turn on foreground overlap

  1. Supply a valid depth source so SPBokeh can distinguish near and far regions.
  2. Focus on an object behind a nearer foreground element.
  3. Enable Foreground Blur. It's on by default for new instances.
  4. Increase Foreground Spread if you want the near bokeh to extend farther beyond the original object boundary.

At Foreground Spread = 0, the foreground contribution stays close to its matte, apart from boundary feathering. At 1, it can expand according to the full aperture shape. This setting changes the near layer's coverage; it is not another Radius control.

Foreground Blur offForeground Blur on

What to expect

The plugin separates blurred near objects, estimates the colors behind them, and composites their bokeh over the main image. This can produce convincing overlap, but the background originally hidden behind an object isn't present in a flat source image. Very coarse depth maps, incorrect near/far polarity, or hard baked-in edges can still create visible artifacts.

If the near element goes behind the subject instead, first verify the depth convention and Focus Distance. Depth Invert reverses the near/far relationship, which also changes which pixels qualify as foreground.