On this page

Remap incoming values from one range of float/color/vector values to another, optionally applying a gamma correction 'in the middle'. Input values below inlow or above outhigh are extrapolated unless doclamp is true.

Parameters

In

float

Inlow

Low value for input range. Default is 1.0 in all channels.

Inhigh

High value for input range. Default is 1.0 in all channels.

Gamma

Inverse exponent applied to input value after first transforming from inlow..inhigh to 0..1; gamma values greater than 1.0 make midtones brighter. Default is 1.0 in all channels.

Outlow

Low value for output range. Default is 0.0 in all channels.

Outhigh

High value for output range. Default is 1.0 in all channels.

Doclamp

If true, the output is clamped to the range outlow..outhigh. Default is false.

Outputs

Out

float

See also

VOP nodes