Houdini 20.5 Nodes Copernicus nodes

Clamp Copernicus node

Clamps an input layer.

On this page

This node clamps an input layer between optional lower and upper limits. You can replace the clamped values with either the limit value they went beyond or 0.

Parameters

Mask

The amount of the new value to mix in with the original value. Higher values mix in more of the new value. Lower values mix in less of the new value. You can also set the RGBA channels to which you apply the effects of this node.

The default value is 1, which means this node uses only the new value. See Mask for more information.

Toggle RGB

Turns the Red, Green, and Blue channels on and off.

Red (default)

Applies this node’s effects to the Red channel.

Green (default)

Applies this node’s effects to the Green channel.

Blue (default)

Applies this node’s effects to the Blue channel.

Alpha (default)

Applies this node’s effects to the Alpha channel.

Lower Limit

Clamps values below the specified threshold.

Upper Limit

Clamps values exceeding the specified threshold.

Clamped Values

The value that replaces the clamped values.

Replace with Limit Value

Clamped values are replaced by the value they went over or under. When clamping between 0 and 1, -1 becomes 0 and 2 becomes 1.

Replace with Black

Clamped values are replaced with 0.

Inputs

source

The original layer to clamp.

lower

An optional per-pixel scaling amount of the lower limit.

upper

An optional per-pixel scaling amount of the lower limit.

mask

An optional per-pixel mask amount that’s scaled by the Mask parameter.

Outputs

clamp

The original layer clamped.

Copernicus nodes