Shuffle

Note:  Nuke 12.1 introduced a new and improved Shuffle2 node, which makes Shuffle and ShuffleCopy obsolete. Shuffle and ShuffleCopy are still available for backward compatibility if you press X in the Node Graph and enter Shuffle or ShuffleCopy.

Shuffle lets you:

rearrange up to 8 channels from a single image (B input). For example, you can use it to swap rgba.red for rgba.green, and vice versa,

rearrange channels between two separate nodes (A and B input), like a foreground and background branch,

replace a channel with black (removing the alpha channel, for example) or with white (making the alpha solid, for example),

create new channels.

To simply copy a channel from one data stream into another, see Copy.

Inputs and Controls

Connection Type

Connection Name

Function

Input

B

The primary image sequence with the channels to rearrange.

A

The secondary image sequence with the channels to rearrange.

Control (UI)

Knob (Scripting)

Default Value

Function

Shuffle Tab

Input Layer

In

fromInput1

B

The incoming layer(s) that contains the channel(s) to rearrange.

You can also select new here to create new channels.

in1

rgba

In

fromInput2

B

Additional incoming channels to rearrange. If you only want to rearrange channels from one layer, you don’t need these controls.

You can also select new here to create new channels.

in2

none

Output Layer

N/A

out1

rgba

The rearranged channels are output to this layer.

You can also select new here to create new channels.

N/A

out2

none

Additional rearranged channels are output to this layer. If you only want to rearrange channels from one layer, you don’t need these controls.

You can also select new here to create new channels.

Step-by-Step Guides

Shuffling Channels