映射范围节点

    The Map Range node remaps a value from a range to a target range.

    Value/Vector

    The input value or vector to be remapped.

    从最小值

    重映射前数值范围下界。

    从最大值

    重映射前数值范围上界。

    到最小值

    目标范围的下界。

    到最大值

    步数(阶梯)

    The number of values allowed between To Min and To Max when using Stepped Linear interpolation. A higher value will give a smoother interpolation while lower values will progressively quantize the input.

    数据类型

    Map Range supports both Float and Vector data types. Changing the data type will also update the sockets to reflect the data type chosen.

    插值类型

    The mathematical method used to transition between gaps in the numerical inputs.

    • 线性

      Linear interpolation between From Min and From Max values.

      阶梯线性

      Stepped linear interpolation between From Min and From Max values.

      Smooth Hermite edge interpolation between From Min and From Max values.

      更平滑步骤

      Smoother Hermite edge interpolation between From Min and From Max values.

    钳制

    启用后,输出将被钳制到目标范围。

    Result/Vector

    重映射后的输入值。

    噪波纹理 节点输出范围为 [0, 1]。我们可以使用 映射范围 节点将其重新映射到范围 [-1, 1]。

    映射范围节点举例。