Parameters
inputRGB: The input color to remap.
bias: A normalized gamma correction factor. Values greater than .5 lighten the result, values less than .5 make it darker.
gain: Used to favor dark areas when the value is less than .5 and light areas when the value is greater than .5.