ShuffleCopy

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.

ShuffleCopy lets you:

rearrange up to 8 channels from two images (two inputs). For example, you can use it to combine two separate passes (such as the beauty pass and the reflection pass) into the same data stream,

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

create new channels.

Channels not affected by this node are taken from input 2, which is considered the main data stream.

To rearrange channels in a single upstream node, Shuffle.

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

Inputs and Controls

Connection Type

Connection Name

Function

Input

1

The first image sequence with the channels to rearrange.

2

The second image sequence with the channels to rearrange. Any channels not affected by this node are also taken from this input.

Control (UI)

Knob (Scripting)

Default Value

Function

ShuffleCopy Tab

1 in

in

rgba

Channels supplied by input 1. If you check a column below, that channel is taken from this input, and gets output to the channel indicated by the row.

2 in

in2

rgba

Channels supplied by input 2. If you check a column below, that channel is taken from this input, and gets output to the channel indicated by the row.

[top right dropdown menu]

out

rgba

The rearranged channels are output to this layer.

[bottom right dropdown menu]

out2

none

The second set of outputs from the node. This allows you to output another four rearranged channels from the node, for a total of eight channels of output to match the possible eight channels of input.

You can also select new here to create new channels.