Clamp Node¶
![Clamp Node.](../../../../_images/node-types_ShaderNodeClamp.webp)
The Clamp node clamps a value between a minimum and a maximum.
Entradas¶
- Valor
The input value to be clamped.
- Mín
The minimum value.
- Máx
The maximum value.
Propiedades¶
- Clamp Type
Method to clamp.
- Mín Máx:
Constrain values between Min and Max.
- Rango:
Constrain values between Min and Max. When Min is greater than Max, constrain between Max and Min instead.
Salidas¶
- Result
The input value after clamping.
Ejemplos¶
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](../../../../_images/render_shader-nodes_converter_clamp_example.jpg)
Example of Clamp node.¶