Height & Displacement Map Generator from Image

Convert any photo or albedo texture into a clean grayscale height and displacement map with live 3D vertex mesh relief in your browser.

100% Local Browser Canvas/WebGL Zero Server Uploads Up to 4K PNG & PBR ZIP
Samples:
Height / Displacement Map 512 x 512
3D Displaced Mesh Preview Drag to Orbit
Active source texture preview
Procedural Brick Wall 512 x 512 px · Drag & drop or paste (Ctrl+V) any PNG/JPG/WebP up to 4K
1.0
0
0.14
2.5
18

How Browser Height & Displacement Extraction Works

This height map generator converts RGB texture luminance into normalized grayscale elevation data locally inside your browser without uploading files.

By isolating perceptual luminance (0.299 R + 0.587 G + 0.114 B) and letting you tune contrast, pre-filter smoothing, and seamless edge wrapping before gradient extraction, this height map generator turns diffuse photos into clean elevation masks ready for Parallax Occlusion Mapping (POM), Unity HDRP Lit Height inputs, or Blender Shader Displacement.

Displacement & Parallax Settings Across 3D Engines

Setting the correct midpoint and blur level prevents stair-stepping artifacts when driving mesh subdivision or parallax shaders with an 8-bit height map.

Different engines interpret grayscale height ranges and displacement midpoints slightly differently. Use the reference table below to configure your shader midpoint and smoothing blur cleanly.

Engine / Shader SlotMidpoint ValueRecommended BlurColor Space
Blender Displacement NodeMidlevel 0.5 (128 gray)+1 to +3 px for smooth subdivisionNon-Color
Unity HDRP / URP Height Map0.0 to 1.0 normalized+1 px to avoid POM steppingLinear (sRGB unchecked)
Unreal Engine World Position Offset0.5 centered offset+2 px on organic terrain/brickLinear Grayscale
Godot 4 Heightmap (POM)Deep parallax scale 0.02–0.080 to +1 px for crisp tilesLinear

Frequently Asked Questions

These technical answers cover common PBR channel formats, browser performance limits, and 3D engine import rules.

What is the difference between a height map and a normal map?

A height map (or displacement map) stores relative surface elevation as single-channel grayscale luminance from black (0, lowest cavity) to white (255, highest peak). Normal maps instead encode 3D surface slope vectors (XYZ) in RGB channels.

Can I preview 3D mesh displacement before downloading?

Yes. Switch the 3D preview to Plane or Sphere and drag the 3D Vertex Displacement Depth slider to inspect real-time mesh elevation alongside your normal-mapped shading.

Can I invert black and white elevation values?

Yes. Check Invert Height in the parameter panel to flip raised areas and recessed cavities when bright source pixels represent grooves or shadows.

What format does the height map export use?

Height maps exported from this generator are 8-bit grayscale PNG images encoded linearly, suitable for parallax occlusion mapping, Blender Bump/Displacement nodes, and Unity height inputs.

0 artist notes

Artist Notes & Engine Questions

No notes yet. Ask a question about Blender, Unity, Unreal Engine 5, or Godot channel import below.