Cross Fader

Fades between any number of textures with one fader position.

Outputs

NameTypeDescription
OutputTextureThe fade between the two inputs the fader sits between.

Inputs

NameTypeDescription
InputslistTextureThe textures to fade between, in order. 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.
Fader PositionFloatWhere the fader is. 0 is the first input, 1 the second, and a value in between mixes the two.
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.

The Cross Fader operator fades from one texture to the next, like the fader on a video mixer. Connect a set of textures and move the fader to dissolve through them in order. A Ramp on the fader position gives a timed transition.

The output size is taken over all inputs, not only the two being mixed, so it stays the same while the fader moves.

See also Mixer, Ramp.

Keywords: mix, dissolve, transition, switch, fade, morph