Using a depth map in Premiere Pro
Premiere Pro doesn't expose the After Effects Depth Layer picker. Instead, SPBokeh can read a depth map from the Alpha channel of the frame passed into the effect.
Prepare the depth input
Use a grayscale depth clip that matches the framing and timing of your main clip. By default, brighter values represent nearer objects.
Set up the effect chain
- Place the depth clip on a separate video track.
- Apply Track Matte Key to the main clip.
- In Track Matte Key, select the depth track as Matte.
- Set Composite Using to Matte Luma.
- Add SPBokeh below Track Matte Key in the main clip's effect order.
- Enable Use Depth Layer in SPBokeh.
- Adjust Focus Distance. If the near/far relationship is reversed, turn on Depth Invert.
The effect order matters: Track Matte Key writes the grayscale information into the frame Alpha, and SPBokeh reads that Alpha as depth. Depth Guide > How to Use... in the plugin also describes this connection.
Important Alpha behavior
When Use Depth Layer is on, the incoming Alpha is interpreted as depth and the source color is processed as opaque. That same Alpha cannot independently retain an ordinary transparency matte in this workflow. An entirely white Alpha produces a constant near-depth value, so there may be no variation to focus on.
Auto Focus, Focus Point, and Focus Smoothing (s) are After Effects-only controls. In Premiere Pro, set the focus manually using Focus Distance, or use the Built-in Mask if you want a designed clear region instead of real depth.