Houdini 21.0 Nodes VOP nodes

MtlX Displacement VOP node

A constructor node for the displacement shader.

On this page

A constructor node for the displacement shader.

You can use this shader to add displacement to curves at render time. You can, for example, connect an MtlX Fractal 3D VOP to the node’s displacement input. Another way is to define a primitive attribute on the curve directly and read it with a MtlX Geometry Property Value VOP. Then you connect the property value node’s output to the displacement input.

Note that any incoming value must have a Vector3 signature! If you only have a single float, it’s possible to convert it to a Vector3 with the MtlX Combine VOP.

Parameters

displacement

(Float or Vector3) If Float, scalar displacement amount along the surface normal direction. If vector3, Vector displacement in (dPdu, dPdv, N) tangent/normal space.

scale

Scale factor for the displacement vector.

Outputs

out

displacementshader

VOP nodes