Узел Map Range

../../../_images/compositing_node-types_CompositorNodeMapRange.png

Узел Map Range.

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.

Входы

Value

The input value to be remapped.

From Min

Нижняя граница диапазона для переназначения.

From Max

Верхняя граница диапазона для переназначения.

To Min

Нижняя граница целевого диапазона.

To Max

Верхняя граница целевого диапазона.

Свойства

Clamp

Clamps values to Min/Max of the destination range.

Выходы

Value

Standard value output.

Использование

One important use case is to easily map the original range of the Z-depth channel to a more usable range (i.e: 0.0 - 1.0) for use as a matte for colorization or filtering operations.