Clamp Node

../../../_images/render_shader-nodes_converter_clamp_node.png

Clamp Node.

The Clamp node clamps a value between a minimum and a maximum.

Inputs

Value

The input value to be clamped.

Min

The minimum value.

Max

The maximum value.

Properties

Clamp Type
Min Max

Clamp values using Min and Max values.

Range

Clamp values between Min and Max range.

Outputs

Result

The input value after clamping.

Exemples

The Voronoi Texture node outputs a value whose minimum is zero. We can use the Clamp node to clamp this value such that the minimum is 0.2.

../../../_images/render_shader-nodes_converter_clamp_example.jpg

Example of Clamp node.