Clamp Texture
The Clamp Texture node provides a minimum and maximum value to “clamp” the values of the texture map.
Clamp Texture节点提供了一个最小值和最大值来 “夹紧 “纹理贴图的值。
HOW TO USE
如何使用
Open the Node Editor and prepare the setup as you see in the image below. Use the Clamp Texture node to clamp the white color in the defined texture in the material. The texture to be clamped in the node setup is connected to the “texture” slot using the output from the “Image Texture” node. Two “RGB Spectrum” nodes were used for “min./max.” values to keep the red and change the white color (RGB values are shown in the image). You can also use this node for other texture sources (e.g., noise, turbulence, marble etc.)
打开“节点编辑器”,准备如下图所示的设置。使用 Clamp 纹理节点在材质中定义的纹理中夹住白色。将夹在节点设置中的纹理通过“图像纹理”节点的输出连接到“纹理”槽。两个“ RGB 频谱”节点用于“分钟”。/max.”值来保持红色和改变白色(RGB 值显示在图像中)。你也可以将这个节点用于其他纹理源(例如,噪声,湍流,大理石等)