PxrMix
PxrMix
Mixes two colors together according to the specified mix percentage. The mixed color result is calculated as: ((1.0-mix) * color1) + (mix * color2).
Input Parameters
Color 1
The first color that is mixed with the second color.
RIB: color color1Default: 0.0 0.0 0.0
Color 2
The second color that is mixed with the first color.
RIB: color color2Default: 1.0 1.0 1.0
Mix
Determines the percentage of color1 that is mixed with color2. When mix is 0, the result will be equal to color1, and when mix is 1, the result with be eqaul to color2.
RIB: float mixDefault: 0.0
Output Parameters
resultRGB
The mixed color result.
resultR
The R channel from the resultRGB output.
resultG
The G channel from the resultRGB output.
resultB
The B channel from the resultRGB output.