映射范围节点¶
This node converts (maps) an input value range into a destination range. By default, values outside the specified input range will be proportionally mapped as well. This node is similar to Map Value node but provides a more intuitive way to specify the desired output range.
输入¶
- 值
标准化值输入。
- 从最小值/最大值
输入值范围的开始和结束值。
- 到最小值/最大值
目标范围的开始和结束值。
属性¶
- 限定
限定目标范围的开始和结束值。
输出¶
- 值
标准化值输出。
用法¶
一个重要的用例是轻松地将 Z 深度通道的原始范围映射到更有用的范围(即:0.0 - 1.0),以便用作着色或滤镜操作的蒙版。