The Bump node generates a perturbed normal from a height texture, for bump mapping. The height value will be sampled at the shading point and two nearby points on the surface to determine the local direction of the normal.
- Strength of the bump mapping effect, interpolating between no bump mapping and full bump mapping.
- Multiplier for the height value to control the overall distance for bump mapping.
- Scalar value giving the height offset from the surface at the shading point; this is where you plug in textures.
- Standard normal input.
- Invert the bump mapping, to displace into the surface instead of out.
- Standard normal output.
The above node setup will only bump the diffuse part of the shader, simulating a bumpy diffuse surface coated with a smooth glossy “glaze” layer.