Rens, A while back I recall you saying you were going to make a remapValue OSL. Maybe you could post it here...
For what it's worth I did find this blendColors. Note sure it is the same tho:
For what it's worth I did find this blendColors. Note sure it is the same tho:
Code:
shader blendColors (vector color1 = vector(1,0,0), vector color2 = vector(0,0,1), float blender = 0.0, output vector outOutput = vector(0,0,0)) { outOutput = color1 * blender + color2 * (1.0 - blender); }
Comment