Mixer

Layers any number of textures on top of each other, each with its own opacity.

Outputs

NameTypeDescription
OutputTextureThe layered result.

Inputs

NameTypeDescription
InputslistTextureThe textures to layer, the first at the bottom. Connecting to the list adds an input at the end.

Parameters

NameTypeDescription
SizeEnumWhere the size of the output comes from. Largest and Smallest take it from the inputs, Custom from Resolution.Choices: Largest, Smallest, Custom
ResolutionVector 2 IntThe width and height of the output in pixels. Only present when Size is Custom.
ScalingEnumHow an input of another size is fitted to the output. None keeps it at its own size in the middle, Fit shows all of it and Fill covers the output.Choices: None, Fit, Fill, Stretch
FilteradvancedEnumHow a scaled input is read between its pixels. Nearest keeps hard pixels, and Linear Nice keeps edges next to transparency clean.Choices: Nearest, Linear Fast, Linear Nice
FormatadvancedEnumThe pixel format of the output. Auto is wide enough for every input.

Opacities

One entry per connected input, numbered in the same order as the inputs.

NameTypeDescription
OpacityFloatHow strongly the input shows, from 0 for invisible to 1 for fully visible.

The Mixer operator stacks any number of textures into one picture, like layers in an image editor. The first input is the bottom layer and each next one is drawn on top of it. How much of an input shows depends on its own transparency and its opacity, and any part no input covers stays transparent.

The inputs are always centered. To place one at an edge, put a Resize with an anchor in front of it. Disconnecting an input also removes its opacity.

See also Blend, Cross Fader, Resize.

Keywords: blend, composite, layer, stack, alpha