A displacement map is a texture whose values physically move the points of a surface along a chosen direction at render time, so that fine detail such as bricks, wrinkles or rock cracks becomes real geometry rather than a shading trick. In Texturing & materials for 3D graphics & animation, displacement mapping is the most faithful way to add surface relief, because the altered silhouette, shadows and occlusion all respond to the new shape.
Unlike a normal map or a bump map, which only change how light is calculated, a displacement map changes the mesh itself. That accuracy has a price: the surface must be finely subdivided before it can be displaced, so memory use and render time rise sharply compared with shading-only techniques.
How a displacement map moves geometry
Displacement works by sampling the texture at each vertex and offsetting that vertex by the sampled value multiplied by a strength factor. For a height displacement map, the offset runs along the surface normal; for a vector displacement map, the texture stores a full three-component offset, so points can move sideways and create overhangs.
Because the texture can only move vertices that exist, the renderer first applies subdivision or tessellation. Offline engines often use adaptive subdivision, which splits polygons until each one covers roughly one pixel on screen, while real-time engines use hardware tessellation or precomputed dense meshes. The density of the resulting micropolygons sets the upper limit of detail the map can express.
Three numbers control the final shape. The midlevel (often 0.5 for 8-bit maps, 0.0 for floating-point maps) is the value that produces no movement; values above it push outward and values below it pull inward. The scale converts texture units into scene units, and the direction space decides whether offsets follow the normal, object space or tangent space.
The table below summarizes the main parameters an artist adjusts when setting up displacement in a material.
| Parameter | Typical values | What it affects |
|---|---|---|
| Midlevel | 0.5 (8-bit) or 0.0 (32-bit) | Which value means zero offset |
| Scale | Matched to sculpt units | Physical height of the relief |
| Subdivision level | 3-6 levels or pixel-based | Finest detail the mesh can show |
| Direction space | Normal, tangent or object | Direction in which points move |
| Bit depth | 16-bit or 32-bit float | Smoothness of gradual slopes |
Height and vector displacement maps
The two main variants differ in what each texel stores. A height map stores one scalar value per texel, so it can only raise or lower the surface. A vector displacement map stores an XYZ offset in the RGB channels, which allows undercuts, curls and mushroom shapes that a single height value cannot describe.
Vector maps are usually baked from a sculpting application by comparing a low-resolution base mesh with its high-resolution sculpt. They must be read in the same tangent or object space in which they were baked, otherwise the detail twists or tears. Height maps are more forgiving and can also come from procedural textures or photogrammetry.
This comparison shows when each variant is the better fit.
| Property | Height displacement | Vector displacement |
|---|---|---|
| Stored data | One channel, scalar | Three channels, XYZ offset |
| Overhangs possible | No | Yes |
| Typical source | Sculpt bake, scan or procedural | Sculpt bake only |
| Space sensitivity | Low | High, must match bake space |
| Common file format | 16-bit TIFF or 32-bit EXR | 32-bit EXR |
Displacement compared with bump and normal maps
Displacement, bump mapping and normal mapping all suggest surface relief, but only displacement alters the actual silhouette. A bump map perturbs shading normals from a height texture, and a normal map stores those perturbed normals directly; both leave the geometry flat, which becomes obvious at grazing angles and along object edges.
In production, the techniques are often combined in one material: displacement handles medium and large forms such as stones in a wall, while a normal map adds fine pores and scratches that would need an impractical polygon count. This layering is standard in physically based rendering pipelines.
| Technique | Changes geometry | Silhouette and shadows | Render cost |
|---|---|---|---|
| Displacement map | Yes | Correct | High |
| Normal map | No | Flat edges, shading only | Low |
| Bump map | No | Flat edges, shading only | Very low |
| Parallax occlusion mapping | No, simulated in shader | Partly convincing | Medium |
Creating and configuring displacement in practice
Good displacement starts with clean UV mapping, because every seam is a place where neighboring texels can disagree and split the surface. Artists usually bake maps in 32-bit floating-point EXR to avoid stair-stepping, and they keep the base mesh close to the final shape so that offsets stay small and predictable.
In most render engines, the map is connected to a dedicated displacement output of the material rather than to the surface shader, and the object needs a subdivision modifier or an engine-side tessellation setting. Some engines also offer a displacement bound that tells the renderer how far points may move, which prevents geometry from being clipped by acceleration structures.
The decision table helps choose the right relief method for common situations.
| Situation | Recommended choice | Reason |
|---|---|---|
| Close-up hero asset in film | Vector or height displacement | Silhouette must hold up |
| Distant terrain or wall | Normal map only | Relief is too small to see |
| Real-time game environment | Normal map plus parallax | Polygon budget is tight |
| Rocky ground in architectural render | Height displacement with normal detail | Balances realism and memory |
Limitations and common mistakes
The main drawback is cost: a fully subdivided object can contain tens of millions of micropolygons, which strains memory, especially in GPU rendering. Displacement also interacts with texel density, since a low-resolution map on a heavily subdivided mesh simply produces smooth blurry bumps.
- Wrong midlevel inflates or shrinks the whole object; check whether the map expects 0.5 or 0.0.
- 8-bit maps produce visible terracing on gentle slopes; use 16-bit or 32-bit data.
- Cracks along UV seams appear when tiles or islands disagree; enable edge stitching or bake with padding.
- Insufficient subdivision makes detail look soft or missing regardless of map quality.
- Mismatched space in vector maps causes twisted or exploded geometry.
A non-technical view
Picture a flat sheet of soft clay and a photograph of a brick wall. A normal map is like painting shadows on the clay so it looks bumpy from the front. A displacement map is like pressing the clay into a real mold, so the bricks actually stick out.
The key point is that displacement builds real shape. From the side, the bricks still stand out, and they cast real shadows. The cost is that the computer must handle many more tiny pieces of surface, so the picture takes longer to make.
A concrete example
A visualization artist prepares an exterior render of a house with a dry-stone garden wall in the foreground. The wall is a simple box of about 200 polygons with a scanned stone texture set that includes a 16-bit height map, a normal map and an albedo map.
The artist enables adaptive subdivision at about one pixel per micropolygon, sets the midlevel to 0.5 and the scale to 4 centimeters, and lets the normal map handle fine grain on the stone faces. At render time, the wall grows to several million micropolygons only near the camera, while distant parts stay light.
The result is a wall whose stones visibly protrude along the top edge and cast irregular shadows onto the lawn, something a normal map alone could not deliver. Render time increases by roughly a quarter, which the artist accepts for a hero shot.