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.

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.
Recommended Settings for Portraits
- Switch Model to
High Detail (V2 Base): The top toggle in our AI Depth Map Generator lets you pickHigh Detail (V2 Base)instead ofFast (V2 Small). On portraits, V2 Base noticeably sharpens hair silhouettes, ears, jewelry, and eyeglass rims. - Keep Export Resolution on
Original (up to 4K): Never downscale a 24 MP portrait to a small preview before applying bokeh. KeepingOriginal (up to 4K)exports a pixel-aligned grayscale PNG up to 4096px on the longest edge. - Set Surface Smoothing to
0 px(for Bokeh / ControlNet) or2–3 px(for 3D Parallax / Laser):- For Photoshop Lens Blur, keep smoothing at
0 pxso hair strands remain crisp. - For 3D Parallax videos or LightBurn laser coins, add
2–3 pxof Surface Smoothing so shoulder outlines don't stretch or pit.
- For Photoshop Lens Blur, keep smoothing at
- Use
Far Clip (Black Point)at5%–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)
- Download your portrait depth map as a True 16-bit PNG (or 8-bit PNG) from our 16-bit PNG & 4K Depth Map Generator.
- Open your original portrait in Photoshop (
Image → Mode → 16 Bits/Channelfor maximum gradient smoothness). - Open the Channels panel, click Create New Channel (
Alpha 1), and paste the matching-resolution depth map intoAlpha 1. - Select the RGB composite channel, then run Filter → Blur → Lens Blur.
- 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).
Recommended Settings for Landscapes
- 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. - Leave
Far Clipat0%andNear Clipat100%: Clipping landscapes too aggressively can collapse distant mountain ranges into the same flat black value as the sky. - 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.
- Lower Gamma (
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 Element | What Happens in Raw Monocular Depth | Practical 1-Minute Fix |
|---|---|---|
| Calm Lake / Puddle Reflections | The 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 Clouds | Most 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 & Mirrors | Depth 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 / Trees | Thin 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.80with 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 Smoothing2–3 pxfor 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.
Continue Reading
Depth Anything V2 vs Depth Anything 3 vs Video Depth Anything vs Marigold: Which Online Tool Should You Use?
An honest technical comparison of Depth Anything V2, Depth Anything 3, Video Depth Anything, DepthCrafter, Marigold, and Apple Depth Pro—and which online tool fits your workflow.
TutorialHow to Make a Depth Map from a Photo (Free Step-by-Step Guide)
Step-by-step guide to making a clean depth map from any photo free online, tuning contrast & smoothing, and exporting for Photoshop, LightBurn & Blender.
Video VFXHow to Convert Video to Depth Map & PNG Sequence Online (Minimizing Temporal Flicker)
Complete workflow for converting MP4, WebM, or MOV videos into grayscale depth maps, previewing every frame before downloading, exporting 8-bit or 16-bit PNG sequences as ZIP, and minimizing flicker.
BasicsWhat Is a Depth Map? A Simple Guide to White, Black, 8-Bit & 16-Bit Depth
Learn what a depth map is, how white vs. black values work, 8-bit PNG vs. 16-bit heightmaps, and how creators use them for 3D photos, lasers & CNC.