All Depth Map Guides
Photo Guide

Portrait & Landscape Depth Maps: Fine Hair, Glasses, Skies, Reflections & High-Res Export Guide

How to generate accurate depth maps for portraits (fine hair, glasses, Photoshop Lens Blur) and outdoor landscapes (horizons, skies, water & mirror reflections) at full resolution up to 4K.

Portrait & Landscape Depth Maps: Fine Hair, Glasses, Skies, Reflections & High-Res Export Guide

Portraits and landscapes are the two toughest real-world tests for any monocular AI depth map generator. Portraits demand razor-sharp foreground boundaries around flyaway hair, eyeglass frames, and fingers; landscapes demand smooth continuous gradation from nearby rocks or trees all the way to distant mountains and sky—without breaking on shiny water or windows.

Here is how to get consistently accurate depth maps for both using Depth Anything V2 directly in your browser.


Part 1: Accurate Depth Maps for Portraits

Older depth networks routinely blur stray hair into the background or misread translucent eyeglasses. Depth Anything V2 was trained on high-precision synthetic data combined with large-scale pseudo-labeled real imagery, which dramatically improved fine-structure edges on human subjects.

  1. Switch Model to High Detail (V2 Base): The top toggle in our AI Depth Map Generator lets you pick High Detail (V2 Base) instead of Fast (V2 Small). On portraits, V2 Base noticeably sharpens hair silhouettes, ears, jewelry, and eyeglass rims.
  2. Keep Export Resolution on Original (up to 4K): Never downscale a 24 MP portrait to a small preview before applying bokeh. Keeping Original (up to 4K) exports a pixel-aligned grayscale PNG up to 4096px on the longest edge.
  3. Set Surface Smoothing to 0 px (for Bokeh / ControlNet) or 2–3 px (for 3D Parallax / Laser):
    • For Photoshop Lens Blur, keep smoothing at 0 px so hair strands remain crisp.
    • For 3D Parallax videos or LightBurn laser coins, add 2–3 px of Surface Smoothing so shoulder outlines don't stretch or pit.
  4. Use Far Clip (Black Point) at 5%–15% for Busy Backdrops: If a cluttered living room or bright window sits behind your subject, raising Far Clip flattens distant noise cleanly to pure black (#000000) while keeping the face brightly separated.

Applying a Portrait Depth Map in Photoshop Lens Blur (16-Bit Workflow)

  1. Download your portrait depth map as a True 16-bit PNG (or 8-bit PNG) from our 16-bit PNG & 4K Depth Map Generator.
  2. Open your original portrait in Photoshop (Image → Mode → 16 Bits/Channel for maximum gradient smoothness).
  3. Open the Channels panel, click Create New Channel (Alpha 1), and paste the matching-resolution depth map into Alpha 1.
  4. Select the RGB composite channel, then run Filter → Blur → Lens Blur.
  5. Set Depth Map Source to Alpha 1, check Invert only if background appears sharp instead of blurred, and click directly on the subject's eyes in the preview to set the exact focal plane.

Part 2: Clean Depth Maps for Landscape & Outdoor Photos

Outdoor landscapes cover massive depth ranges—from wildflowers 1 meter away to clouds 20 kilometers away. Relative depth models map the closest point to bright white (1.0) and the farthest horizon or sky to pure black (0.0).

  1. Use High Detail (V2 Base) + True 16-bit PNG: Landscapes rely on subtle mid-gray transitions across rolling hills, lake shorelines, and mountain ridges. An 8-bit PNG only has 256 gray levels across that entire distance—often producing visible banding bands when adding atmospheric haze or displacing 3D terrain in Blender. True 16-bit PNG gives you 65,536 levels.
  2. Leave Far Clip at 0% and Near Clip at 100%: Clipping landscapes too aggressively can collapse distant mountain ranges into the same flat black value as the sky.
  3. Tune Gamma (0.85–1.15) to Shape Foreground vs. Horizon:
    • Lower Gamma (0.85–0.95) pushes more brightness detail into distant mid-ground hills and trees.
    • Higher Gamma (1.1–1.25) emphasizes dramatic foreground rocks, archways, or bridges.

Known Outdoor Limitations (Sky, Water, Mirrors & Glass) — And How to Fix Them

Every monocular depth model—including Depth Anything V2 and V3—faces physical edge cases on reflective and transparent surfaces:

Tricky Landscape ElementWhat Happens in Raw Monocular DepthPractical 1-Minute Fix
Calm Lake / Puddle ReflectionsThe model can occasionally read reflected mountains inside a lake as "farther" than the water surface itself.Export 16-bit PNG, open in Photoshop/GIMP, and paint a smooth vertical gradient across the water surface matching the shoreline depth.
Bright Overcast Sky vs. White CloudsMost skies correctly drop to near-black (0), though high-contrast foreground clouds occasionally read slightly mid-gray.Nudge Far Clip up 2%–5% to anchor the entire sky cleanly to solid #000000.
Windows, Car Windshields & MirrorsDepth models may estimate the distance of the reflected room or scene behind the glass rather than the glass pane.For 3D parallax, raise Surface Smoothing to 2–3 px and lower Depth Strength to 2.0%–2.5% so subtle discontinuities stay invisible in motion.
Dense Foreground Foliage / TreesThin branches against bright sky can soften on Fast (V2 Small).Switch to High Detail (V2 Base) and export at Original (up to 4K).

Turning Portraits or Landscapes Into 3D Parallax Videos

Both portraits (clear foreground subject + soft backdrop) and multi-plane landscapes (foreground rocks/trees + mid-ground hills + distant sky) look extraordinary in 3D motion:

  • Open our Photo to 3D Parallax Video Generator on desktop, iPhone Safari, or Android Chrome.
  • For portraits, raise Focus to 0.65–0.80 with Sway motion so the face stays anchored while the background glides behind them.
  • For landscapes, try Dolly Zoom with Depth 3.5%–4.5% and Surface Smoothing 2–3 px for a dramatic cinema push-in.
  • If you retouched a water reflection or mirror in Photoshop, click Upload Custom Depth Map right inside the 3D Parallax toolbar to pair your edited depth map directly with the original photo.

Try It on Your Own Portrait or Landscape

Drop any JPG, PNG, WebP, or AVIF photo into the free Depth Anything V2 Online Generator—switch to High Detail (V2 Base), keep Original (up to 4K) selected, and export 8-bit or true 16-bit grayscale PNGs with zero uploads.

Try it free right now

Generate a grayscale or 16-bit depth map from your own photo in seconds — 100% private in your browser.

Open Free Generator

Continue Reading