Height Map vs Normal Map vs Bump Map: What Is the Difference?
Height, bump, normal and displacement maps explained in plain language, with when to use each one in Unreal Engine and Unity.
In this article
If you are new to materials, the list of "maps" can be confusing: height, bump, normal, displacement, parallax. They all add surface detail, but they work very differently and cost very different amounts of performance. Here is what each one is, in plain words, and how each one is used in Unreal Engine and Unity.
The short version
| Map | What it stores | What it changes | Typical use in games |
|---|---|---|---|
| Height map | Greyscale height per pixel | Nothing by itself | Source for other maps, terrain, blending |
| Bump map | Greyscale height | Lighting only | Rare in modern engines |
| Normal map | Surface direction (RGB) | Lighting only | Almost every material |
| Displacement | Height | Real geometry | Terrain, close-up surfaces |
| Parallax occlusion | Height | Apparent depth (shader trick) | Bricks, cobblestones up close |
Height map
A height map is the simplest of all: a greyscale image where white means high and black means low. On its own it does nothing visible. It is a description of shape that other techniques use.
You get height maps from sculpting tools (Blender, ZBrush), texturing tools (Substance), photogrammetry scans, or by painting them by hand.
Bit depth matters
An 8-bit height map has only 256 levels. That is fine for small surface detail, but on terrain or strong displacement you see stair steps where the height jumps from one level to the next. Use 16-bit PNG for landscapes and displacement; Unreal landscapes expect 16-bit heightmaps. See Unreal landscape sizes explained for the exact sizes.
Bump map
A bump map is a height map used directly by the renderer to fake lighting. While shading each pixel, the renderer looks at how the height changes around it and tilts the lighting accordingly.
Bump mapping is cheap to author but needs extra texture reads at runtime and gives softer, less accurate results. Modern game engines mostly use normal maps instead. The name lives on, though: older Unity shaders called the normal map slot "Bump", and some still have a Bump Scale setting that is really the normal map strength.
Normal map
A normal map stores the direction each pixel of the surface faces, packed into color:
- Red: left and right
- Green: up and down
- Blue: pointing out of the surface
Because the direction is already calculated, the engine just reads it and lights the pixel. That makes normal maps fast and precise, and that is why every material workflow in Unreal Engine and Unity uses them.
A flat surface is stored as (128, 128, 255), a light purple-blue, which is why normal maps look purple. In the engine they are compressed with BC5, which keeps only red and green and rebuilds blue in the shader; see texture compression explained.
The one catch: there are two conventions for the green channel. Unreal uses DirectX (green down) and Unity uses OpenGL (green up). We explain how to spot and fix this in DirectX vs OpenGL Normal Maps.
Height map vs normal map
| Height map | Normal map | |
|---|---|---|
| Channels | 1 (greyscale) | 3 (RGB), 2 after BC5 compression |
| Stores | How high each point is | Which way each point faces |
| Shows by itself | Nothing | Lighting detail |
| Can make the other | Yes, height → normal is exact | Only approximately (slopes, not heights) |
| Used for | Displacement, parallax, terrain, blending masks | Surface detail on almost every material |
Turning a height map into a normal map
Since a height map describes shape, you can calculate a normal map from it: the slope between neighboring pixels gives the surface direction. You have three options:
- Online: the free Normal Map Generator takes a height map or texture and gives you a DirectX or OpenGL normal map. The guide How to Make a Normal Map from Any Texture walks through the settings.
- In Unity: select the height texture, set Texture Type to Normal map and tick Create from Grayscale. Bumpiness sets the strength.
- In Unreal: the NormalFromHeightmap material function builds a normal from a height texture in the material. It costs extra texture samples every frame, so a baked normal map is better for final assets.
If you only have a photo, the PBR Map Generator estimates height, roughness and AO from it first.
Displacement
Displacement actually moves the vertices of a mesh using a height map. Unlike bump and normal maps, it changes the silhouette: a displaced brick wall has real bricks that stick out when you look along the wall.
Height map vs displacement map
There is no difference in the data: a displacement map is a height map used for displacement. Two details differ in practice:
- Bit depth: displacement maps are usually 16 or 32 bits to avoid stair steps.
- Mid-point: many tools export displacement with mid-grey (0.5) as "no change", so values below push in and values above push out. A plain height map usually treats black as the lowest point. Check which one your tool exported before setting the strength.
The cost is geometry. Displacement only looks good with enough vertices, through a dense mesh, tessellation or, in Unreal Engine 5, Nanite tessellation for supported workflows. Use it where the shape really matters, such as terrain or surfaces the camera sees up close at shallow angles.
Parallax occlusion mapping
Parallax occlusion mapping is a shader trick that uses a height map to shift texture coordinates, so the surface appears to have depth as the camera moves. It looks impressive on bricks and cobblestones but costs several texture reads per pixel. Use it on a few hero surfaces, not everywhere.
- Unity URP and HDRP: the Lit shader's Height Map slot drives parallax (URP) or parallax and displacement (HDRP).
- Unreal: use the ParallaxOcclusionMapping material function, or the cheaper BumpOffset node for a simple shift.
Which one should you use?
- Most materials: albedo plus a normal map plus a packed roughness/metallic/AO texture (how to pack ORM textures).
- Terrain and close-up ground: add displacement or parallax where it is visible.
- Hero assets: bake the normal map from a high-poly model.
- Tiling materials and quick props: generate the normal map from a height map or texture.
- Keep the height map even after you make the normal map. It is useful later for parallax, displacement and material blending.
Summary
- Height map = shape as greyscale. It feeds the other techniques.
- Bump and normal maps change lighting only; normal maps are the modern standard.
- A displacement map is a height map used to move geometry; it needs 16-bit data and enough vertices.
- You can turn any height map into a normal map in seconds, online or in the engine.
Frequently asked questions
Is a bump map the same as a normal map?
No. A bump map is a greyscale height image that the renderer turns into lighting on the fly. A normal map stores the final surface directions in RGB. Normal maps give more accurate results and are the standard in game engines.
What is the difference between a height map and a normal map?
A height map stores one value per pixel: how high the surface is. A normal map stores three values per pixel: which way the surface faces. You can calculate a normal map from a height map, but not the other way round with full accuracy, because a normal map only knows slopes, not absolute heights.
Is a height map the same as a displacement map?
They hold the same kind of data. 'Displacement map' just means a height map used to move geometry. Displacement maps are usually exported at 16 or 32 bits, and often use mid-grey (0.5) as 'no change' so they can push in and out.
Can I convert a height map to a normal map?
Yes. A normal map generator reads the slopes of the height map and turns them into surface directions. Choose DirectX for Unreal Engine or OpenGL for Unity. Unity can also do it on import with Texture Type: Normal map and Create from Grayscale.
Does Unity use bump maps?
Unity's current shaders (URP and HDRP Lit, Standard) use normal maps. Older Unity versions called the normal map slot 'Bump' and the strength is still called Bump Scale in some shaders, which is why the names are mixed up. The Height Map slot in URP and HDRP is used for parallax or displacement, not for bump mapping.
When should I use displacement instead of a normal map?
Use displacement when the silhouette must change, for example deep bricks on a wall seen at an angle or terrain. It needs enough geometry or tessellation. For small details, a normal map is much cheaper.
Why are normal maps purple?
A flat surface points straight out, which is stored as red 128, green 128, blue 255. That color is a light purple-blue, so mostly flat normal maps look purple.