Skip to content

Lens blur

  • Where: Edit panel ▸ Lens Blur, below Lens Corrections. Tick Apply, or move any slider: that switches it on.
  • Blur Amount: how strong the blur gets for the farthest parts. 100 is about 3 % of the photo’s long edge.
  • Boost: brightens the blurred highlights, so lamps and reflections in the background turn into bright discs. Midtones and shadows keep their level. 0 leaves the blur as it is.
  • Focus Picker: click the photo to keep the distance under the pointer sharp. Drag to use the middle distance of an area. The picker stays armed until you click it again or press Esc. Clear Focus goes back to the Focal Distance slider.
  • Focal Distance (0 near, 100 far) and Focal Range (how deep the sharp zone is): set the sharp zone by hand when no focus is picked. Focus Area changes the size of a picked area.
  • Bokeh: the shape of blurred highlights. Circle, 5 Blades, 6 Blades or Ring (a mirror lens).
  • The eye on the section header switches the blur off for a before/after.

Paint over the depth where it gets something wrong, for example a strand of hair that blurred with the background.

  • Focus: what you paint stays sharp, whatever its distance.
  • Blur: what you paint gets the full blur. It wins where both brushes painted.
  • Click a brush to arm it, then paint on the photo. Click it again to put it away. Hold Alt to erase that brush’s strokes.
  • Amount sets how far a stroke goes. Size, Feather, Flow and Auto Mask are shared with the Masking brush.
  • Reset removes the strokes of both brushes. Each stroke is one undo step.
  • The brushes work only while Lens Blur is switched on.

Every mask has a Lens Blur block under its adjustment sections. It blurs by the mask, not by depth, and works with or without the Lens Blur section.

  • Blur Amount: the blur where the mask selects fully. The mask’s feathered edge gets less.
  • Selection / Outside: blur what the mask selects, or what it leaves out.
  • Boost: brighter bokeh highlights in this mask’s blur.
  • The eye on the block’s header switches it off and keeps its values. The bokeh shape is the one chosen in the Lens Blur section.
  • With the depth model (Depth Anything V2 Small, Apache-2.0; AI Models ▸ Depth, the same download as Depth Range masks): a real per-pixel depth map. It runs once per photo and is cached.
  • Without it: the depth is estimated from the photo’s subject. The subject stays near and the rest counts as far. The section says so, and so does a warning on the render. This works for a portrait against a background, not for a scene that recedes gradually.
  • The blur is worked out on the scene-linear image after noise reduction, so bright highlights become shaped discs as through a real lens.
  • Sizes are relative to the photo, so a small preview, a zoomed view and a full-size export match. GPU renders use the same CPU code for this step.
  • lensBlur.set {amount, boost, focalDistance, focalRange, focus: {x, y} | null, focusSize, bokeh, enabled}. Every change is one undo step.
  • lensBlur.status: the current settings, how many strokes each brush holds, and the depth source (model or subject).
  • lensBlur.brushStroke {mode: "focus" | "blur", points, size, feather, flow, amount, erase, autoMask} paints one stroke. lensBlur.brushReset {mode?} removes one brush’s strokes, or both.
  • A mask’s block: mask.adjust {values: {lens_blur, lens_blur_boost, lens_blur_outside, lens_blur_off}}.
  • The sliders are develop controls: lensBlur.amount, lensBlur.boost, lensBlur.focalDistance, lensBlur.focalRange, lensBlur.focusSize.
  • section.lensBlur opens the section (Window ▸ Edit Sections ▸ Lens Blur).
  • Edges where a sharp subject meets a strongly blurred background can show a thin halo.
  • Not compared with Lightroom on real photos yet.
  • The setting is not written to or read from Lightroom XMP.