Class

Shader

Output

RGB

synopsis

Remap input from the [input_min, input_max] range to the [ouput_min, output_max] range linearly. The result is not clamped unless smoothstep is on, and the result is interpolated smoothly and the result is clamped in the [output_min, output_max] range.




input

Input shader to apply the range to.

input_min

Minimum input value to be used.

input_max

Maximum input value to be used.

output_min

Minimum output value to be used.

output_max

Maximum output value to be used.

smoothstep

If enabled, remapping is done using a smooth step function. Otherwise, it's done linearly.

contrast

contrast_pivot

bias

Push or pull values by altering the slope at the beginning of the range. Bias values below 0.5 decrease the slope and lower values overall.  Above 0.5, the slope is higher, and the value grows more quickly. A value of 0.5 has no effect.

gain

Increase or decrease the slope of the mid-range values. Gain values below 0.5 increase the contrast whereas values above 0.5 flatten the mid-range values. A value of 0.5 has no effect.