Houdini 22.0 Nodes Copernicus nodes

Clamp Copernicus node

Clamps an input layer, VDB, or attribute.

On this page

This node clamps an input layer, VDB, or attribute 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

Applies this node’s effects to the Red channel.

Green

Applies this node’s effects to the Green channel.

Blue

Applies this node’s effects to the Blue channel.

Alpha

Applies this node’s effects to the Alpha channel.

Compute Range

Sets the Lower Limit and Upper Limit parameters to the minimum and maximum values of the source input.

Lower Limit

Clamps values below the specified threshold.

Tip

Click and then click on the layer to set the Lower Limit.

Upper Limit

Clamps values exceeding the specified threshold.

Tip

Click and then click on the layer to set the Upper Limit.

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.

Soft Clip

Clamped values smoothly transition across a range.

Soft Clip Direction

The direction in which to smoothly transition the clamped values.

Soft Clip Inside Range

Transition the clamped values above the Lower Limit and below the Upper Limit, which narrows the effects of clamping.

Soft Clip Outside Range

Transition the clamped values below the Lower Limit and above the Upper Limit, which extends the effects of clamping.

Soft Clip Range

The range over which to transition from the limit values to the original values.

Inputs

source

The original layer, VDB, or attribute 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, VDB, or attribute clamped.

Copernicus nodes