Houdini 20.5 Nodes Copernicus nodes

Height to Normal Copernicus node

Converts a height layer to a normal layer.

On this page

This node converts a mono layer that represents a nominal height into an RGB layer that represents the normal of the heightmap. Since heightmaps are rarely to scale, this often requires explicit scaling to get the normals' expected steepness.

Parameters

Normal Type

The method used to store the normals (see Normals for more information).

Signed

Output signed normals, compatible with geometry attributes.

Offset

Output offset normals, compatible with normal maps.

Height Scale

The amount to globally scale the height before computing normals. Higher numbers create steeper normals.

Derivatives

Read Pixels outside Image

Derivatives at the boundary read outside of the image. When off, derivatives at the boundary are restricted to the image range.

Turning this parameter on is useful when building seamless textures with a wrap border type. Turn this off if you want to avoid artificial flattening of the derivative at the boundary in a clamp border type, as it acts like an extrapolation.

Kernel Size

The distance (in buffer elements) to compute the derivative, which might remove stepping artifacts from the derivative.

A derivative is often computed with adjacent pixels, but if the values are slowly varying there may not be enough bit-depth to get smooth derivatives.

Inputs

height

A mono layer that represents a heightmap.

Outputs

normals

The RGB layer that stores the normals of the heightmap in either Signed or Offset format.

See also

Copernicus nodes