You are viewing RenderMan 22 documentation which is not the current release. You may view the current documentation by visiting the home page.

Page tree

Contents

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.

Color 2

The second color that is mixed with the first color.

Mix

The first color that is mixed with the second color.

 

Clamp Mix

Keep the mix value between 0 and 1 to make sure you only get either color1 or color2 when outside of that range.

Output Parameters

resultRGB

The clamped 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.