Mix 2 Colors
 
 
 

| Render Tree Usage

Category: Processing > Mixers

Shader Family: Texture

Output: Color

Mixes a base color or texture with another color or texture. The result is an RGBA value.

Name

The shader's name. Enter any name you like, or leave the default.

Output: Color value

Base Layer

Base Color

Defines the base (ambient) color to use for mixing.

Mix Layer

Color

Defines the compositing color. When using a texture, this parameter is used to define the image.

Weight

Defines the mix layer's intensity in relation to the base color.

Mode

Defines how the layer is mixed. See Mix Mode Types.

Multiply Weight by Alpha

Multiplies the defined Weight by the color's Alpha channel.

Render Tree Usage

This shader can be used almost anywhere in a render tree to mix the output of two shaders to create a single value. It is most often used to blend either two surface shaders, such as Phong and a Lambert, or two textures image clips. You can also use a texture image clip to drive the Weight parameter in order to mix the surfaces or textures in a predictable or specific pattern.