Setup the displacement
- In the RenderGraph, add a
- Add a
Library/Attributes/MaskTexturesub-shader on the Displacement > Amountattribute.
- With this texture node, choose your displacement texture.
- Set the
Attributes > Displacement > Displacementattribute to Displacement+Bump.
- Tweak the
Attributes > Displacement > Displacement Amountto get the correct displacement.
- Increase the
Attributes > Subdivision > Subdivison Levelto add geometry details.
The displacement attributes
Enable the geometry displacement for this object.
Bump: the displacement shader is used as bump, pixel wise, during the shading. No displacement is applied to the geometry. Displacement: the displacement shader is applied on the subdivided geometry. Displacement+Bump: the displacement shader is applied on the subdivided geometry and is also used as bump, pixel wise, during the shading.
Control how much the object is displaced.
Choose in which space the displacement is expressed.
Object: The displacement is expressed in object space. The object aspect is independent from its scale. The object instances stay instanciated. World: The displacement is expressed in world space. Warning, the object instances will be duplicated and will take more memory.
The shader used to displace the object surface.