Mixes two colors together according to the specified mix percentage. The mixed color result is calculated as: ((1.0-mix) * color1) + (mix * color2)
.
The first color that is mixed with the second color.
The second color that is mixed with the first color.
The first color that is mixed with the second color.
Keep the mix value between 0 and 1 to make sure you only get either color1 or color2 when outside of that range.
The clamped color result.
The R channel from the resultRGB output.
The G channel from the resultRGB output.
The B channel from the resultRGB output.