Provides bump mapping based on a 2d texture map. Note that bump mapping does not alter the geometry of the object, it only changes shading normals, so things won't look right in silhouette; however, very often this does not matter. Keep in mind that the object will need UV coordinates that will be used to derive the perturbation. The bump2d node evaluates the bump function at three locations with an offset in u and v from the shading point, via a "forward differencing" algorithm.


The input used to compute the normal perturbation, provided as a float value representing the height, or directly as an RGB texture map, in which case the first component (R) will be used.
Allows you to scale the height of the bump map output.
Optionally, a shader to be evaluated after the normal perturbation has been completed. Then, the perturbed normals are restored.  This will allow the node to be connected to the Surface slot of the material (rather than connecting bump2d to the Bump Map slot and the other shader to the Surface slot separately). This may be useful in some situations.
  • No labels