Documentation / Node reference / tex nodes

tex/ChannelShuffle

Picks where each channel comes from: either image, 0 or 1.

Color

Rearranges channels. Each channel of the result takes a channel or the brightness of the first or second image, or 0 or 1, and can be inverted. The second image is optional and is stretched over the first. By default the image is unchanged.

Parameters

Name Type What it does
red UInt8 IMAGE_RED · IMAGE_GREEN · IMAGE_BLUE · IMAGE_ALPHA · IMAGE_LUMINANCE · SECOND_RED · SECOND_GREEN · SECOND_BLUE · SECOND_ALPHA · SECOND_LUMINANCE · ZERO · ONE Where the red channel comes from.
invertRed Bool Turns red into 1 minus red.
green UInt8 IMAGE_RED · IMAGE_GREEN · IMAGE_BLUE · IMAGE_ALPHA · IMAGE_LUMINANCE · SECOND_RED · SECOND_GREEN · SECOND_BLUE · SECOND_ALPHA · SECOND_LUMINANCE · ZERO · ONE Where the green channel comes from.
invertGreen Bool Turns green into 1 minus green.
blue UInt8 IMAGE_RED · IMAGE_GREEN · IMAGE_BLUE · IMAGE_ALPHA · IMAGE_LUMINANCE · SECOND_RED · SECOND_GREEN · SECOND_BLUE · SECOND_ALPHA · SECOND_LUMINANCE · ZERO · ONE Where the blue channel comes from.
invertBlue Bool Turns blue into 1 minus blue.
alpha UInt8 IMAGE_RED · IMAGE_GREEN · IMAGE_BLUE · IMAGE_ALPHA · IMAGE_LUMINANCE · SECOND_RED · SECOND_GREEN · SECOND_BLUE · SECOND_ALPHA · SECOND_LUMINANCE · ZERO · ONE Where the alpha comes from.
invertAlpha Bool Turns alpha into 1 minus alpha.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.