Mix
Mixes foreground and background inputs, weighting based on mix value.
Overview
F * m + B(1 - m)
Parameter Types
Parameter descriptions
ForegroundThe foreground input.
BackgroundThe background input.
MixThe weight that determines what the output value is closer to. The default value is
0. Values outside of the range0-1produce an undefined effect outside of the node’s intended function.
Discussion
The Mix node blends two input values together, represented by the equation F * m + B(1 - m). If the Mix value is 1, the output is identical to the Foreground value. If the value is 0, the output is identical to the Background value. The closer the Mix value is to 0 or 1, the closer the output will be to the corresponding input. Use the Mix node to blend between two different textures and create transtions or effects, interpolate between two colors, or mix shader parameters. Below is an example of a simple node graph that uses the Mix node to blend two images together into a single material:
[Image]
Below are the original two images and the resulting mixed texture applied to a cube with Mix values of 0.1, 0.5, and 0.9: