Depth Blur
Use a reusable relative DepthMap to control focus blur while keeping the source image editable.
Generate a DepthMap
- Select an image-filled shape and open Depth Blur in the Inspector.
- Choose Enable Depth Blur to download the optional local model, then choose Generate Depth Map.
- Turn on Preview Depth to inspect the near-to-far field. Use Pick Focus to sample a focal depth from that preview.
Adjust and save the effect
Tune blur amount, focal distance, and transition range. Saving creates a depthBlureffect that references the document's DepthMap resource. It does not replace the image with a blurred bitmap, so the same map can later drive additional depth-aware effects.
Depth Range Mask
A saved DepthMap can also be converted into a non-destructive layer mask: set the near and far thresholds, feather the transition, optionally invert the selection, then chooseCreate Depth Mask. The mask is stored as a standard raster mask on the image layer, so adjustments and other effects can consume it like any other mask.
Regenerate and remove
Regenerate Depth Map reruns local inference when you want a fresh estimate.Remove Depth Blur deletes the effect and any depth resources that are no longer referenced by other effects. Removing the map never touches the original image pixels.
Persistence and invalidation
A persisted map records its dimensions, normalized near/far convention, model and preprocessing provenance, source asset hash, and a versioned 16-bit scalar payload. Rendering only needs the stored resource; model inference is needed only to create or regenerate it. If the source asset changes, Varve marks the saved map stale and asks you to regenerate it.
Limitations
Depth is relative, not metric. It is a guide for image effects, not a measurement of real-world distance. Transparent objects, reflections, thin structures, and severe occlusion may be uncertain. Missing or corrupt maps fail soft and preserve the source pixels.