clamp texture

The Clamp Texture provides a minimum and maximum value to "clamp" the values of the texture map.



how to use

Open the Node editor and prepare the setup as you see in the picture below. In this setup, we wanted to clamp the white color in the defined texture Therefore, the texture to be clamped in the Node setup is connected to the "texture" slot using the "Image Texture" node. Two "RGB Spectrum" nodes were used for "min./max." values to keep the red and change the white color. The following RGB values were entered for the slots. You can also use this node for other texture sources (eg noise, turbulence, marble etc.). You can also use default sliders for Min and Max values, depending on your purpose. So you do not have to connect another node to these slots.