Texture Displacement


DisplacementThe process of utilizing a 2D texture map to generate 3D surface relief. As opposed to bump and normal mapping, Displacement mapping does not only provide the illusion of depth but it effectively displaces the actual geometric position of points over the textured surface. mapping utilizes a 2D texture map in order to generate 3D surface relief. As opposed to bump and normal mapping, displacement mapping provides the illusion of depth, and it displaces point positions over the surface based on the displacement texture's light and dark values. The Texture Displacement node controls how the texture displaces the surface (figure 1). Displacement mapping requires a UV projection for the object with the displacement. Models created in other 3D applications need UV texture coordinates, and the displacement map should match the model's UV layout. Procedural textures will not work for displacement in OctaneRender® - only image textures will work. Procedural textures must be baked prior using a Baking Image Texture node.


Figure 1: A Texture Displacement node is used to add surface detail to the teapot


Texture Displacement Parameters

Texture - This slot provides the displacement map path. Displacement maps are image textures generated in programs like ZBrush®, Substance Designer, or Photoshop®.

Mid Level - Defines the displacement shift in texture value range. Set this value to 0.5 for image textures that use 50% to represent no displacement. For images that use black to represent no displacement (such as 32-bit EXRs), set this value to 0. If you use a digital sculpting program like ZBrush to generate displacement, you can get the best results by setting Mid Level in the sculpting program to 0.5 when it generates displacement, and then set the Displacement node's Mid Level value to 0.5.

Level Of Detail - Adjusts map detail quality. Higher values reduce artifacts seen in shadows cast on the displacement surface and brings out finer details, but it increases render time.

Height - Controls displacement strength.

Displacement Direction - Lets you choose different displacement vectors.

Filter Type - Selects the displacement map filter.

Filter Radius - Adjusts the number of nearest pixels to use for filtering. Higher values result in smoother displacement maps. This parameter is valid if you enable a Box or Gaussian filter.