bumpMap
Uses a grayscale image (height map) to perturb surface normals, simulating fine bump details without altering the model's geometry.
Core Advantages
Provides a massive boost in visual detail at a very low performance cost, and abstracts complex normal perturbation math into a simple, artist-friendly node.
Common Uses
Adding organic surface details (skin, wrinkles)
Defining man-made material textures (metal, leather)
Environmental and architectural surfaces (bricks, wood)
Procedural dynamic effects (water ripples, energy shields)
How to adjust
Adjust the `scale` property to control the bump's intensity and direction (positive for bumps, negative for dents). Change the `value` input (e.g., swapping textures or using a noise node) to completely alter the surface detail or create dynamic effects. Modify the `uv` input to tile, scroll, or distort the bump map.
Code Examples
1// Create a bump normal using the red channel of a height map and a scale value
2const bumpNormal = bumpMap( texture( heightMap ).r, bumpScale );