Sub topic 11
Adding Surface Relief with the Bump Node and Displacement
Assume you know the Shader Editor, texture coordinates, Colour Ramp, and Principled BSDF inputs. This chapter uses a procedural grayscale pattern as a height map. A height map stores high and low values that describe surface shape.
Bump and displacement solve different problems
The Bump node changes a surface normal. A normal tells Blender which direction a surface faces, so lighting makes the material appear raised or indented. Bump does not change the mesh silhouette or the object’s actual geometry. It is fast and works well for small details such as pores, scratches, and fine cracks.
Displacement changes the position of mesh points. It can affect the silhouette and create real shadows, but it requires enough geometry. A low-resolution plane cannot show detailed displacement because it has too few vertices to move.
| Method | Changes geometry | Changes silhouette | Typical use |
|---|---|---|---|
| Bump | No | No | Fine surface detail |
| True displacement | Yes | Yes | Large cracks, rocks, terrain |
| Bump plus displacement | Partly | Partly | Large and small layered detail |
A procedural value can drive both methods, but use different strengths. Strong bump can look inflated, while strong displacement can tear through a mesh.
Build a height signal
Use a Noise Texture for uneven relief or a Voronoi Texture for cells and cracks. A Colour Ramp gives you control over which values become high and low.
For cracks, connect the Voronoi Distance to Edge output to a ramp. Make most of the ramp white and the narrow crack range black. The black lines then represent lower areas. You can invert this relationship if your pattern has the opposite meaning.
Add a Bump node
Connect the ramp’s grayscale output to the Bump node’s Height input. Connect Normal from the Bump node to Normal on the Principled BSDF.
Adjust these controls:
- Strength controls how strongly the normal is modified.
- Distance controls the apparent height range.
- Invert swaps raised and recessed areas.
- A small Distance usually produces more believable detail.
The Bump node does not need a separate colour pattern. The same ramp can also drive Base Color or Roughness, but each input may need different remapping. For example, cracks might be dark and rough, while raised rock remains lighter and less rough.
Use true displacement
For actual displacement, add a Displacement node. Connect the height signal to Height, then connect Displacement to the Material Output node’s Displacement input. Scale controls the displacement amount, and Midlevel identifies the value that should remain at the original surface position. With a grayscale map, a Midlevel of 0.5 commonly keeps middle-gray areas unchanged.
True displacement needs dense geometry. In Cycles, enable a suitable material displacement mode and use subdivision or adaptive subdivision where available. In Eevee, the Material Output displacement connection does not provide the same full geometric displacement workflow, so use Bump or a geometry-based method when the render engine cannot move the surface.
A useful setup combines broad displacement with fine bump. Use low-frequency Noise for large forms and higher-frequency Noise for small detail. Keep the fine pattern on Bump so it does not require extreme mesh density.
Create the nodes with Python
This script creates a simple Noise-to-Bump material. Run it in Blender’s Scripting workspace.
import bpy
material = bpy.data.materials.new("ReliefMaterial")
material.use_nodes = True
nodes = material.node_tree.nodes
links = material.node_tree.links
nodes.clear()
output = nodes.new("ShaderNodeOutputMaterial")
bsdf = nodes.new("ShaderNodeBsdfPrincipled")
noise = nodes.new("ShaderNodeTexNoise")
bump = nodes.new("ShaderNodeBump")
noise.inputs["Scale"].default_value = 8.0
noise.inputs["Detail"].default_value = 5.0
bump.inputs["Strength"].default_value = 0.25
bump.inputs["Distance"].default_value = 0.08
links.new(noise.outputs["Fac"], bump.inputs["Height"])
links.new(bump.outputs["Normal"], bsdf.inputs["Normal"])
links.new(bsdf.outputs["BSDF"], output.inputs["Surface"])
output.location.x = 500
bsdf.location.x = 250
noise.location.x = -250
bump.location.x = 0Diagnose common failures
If relief appears stretched, inspect the coordinate space and object scale. Apply object scale or use a Mapping node to correct the pattern. If the surface looks flat, increase the pattern contrast before increasing Bump Strength. If it looks noisy and inflated, reduce Strength and Distance.
For displacement, check mesh resolution first. Increasing the node value cannot create detail that the mesh cannot represent. Also check whether the active render engine supports the displacement method you selected.
Exercise
A black-and-white crack mask is connected to a Bump node, but the cracks appear raised. What should you change?
Show answer
Enable Invert on the Bump node or reverse the Colour Ramp so the crack areas produce lower height values.