Houdini 20.5 Nodes Copernicus nodes

Mono to RGBA Copernicus node

Converts a mono layer into an RGBA layer.

On this page

This node converts a mono layer into an RGBA layer. The default channel extension rules replicate a mono layer to red, green, blue, and alpha channels. This corresponds a white image with a varying alpha for premultiplied layers, which may not be expected.

This node makes the conversion explicit, which lets you extend the layer as GGGG or GGG1. You can also use this node to input a specific alpha.

Note

This doesn’t apply premultiplication.

Parameters

Missing Alpha

The method used to create a missing alpha channel when no alpha layer is provided.

Extend

Set the alpha channel to the input layer. This matches the implicit conversion rules.

Value

Give the alpha channel a specific value. This allows the creation of an opaque grayscale image rather than a white image of varying alpha.

Alpha Value

When Missing Alpha is Value, this is the value to apply to the alpha channel when no alpha layer is provided.

Inputs

mono

The original mono layer to convert.

alpha

A mono layer to use as the alpha in the resulting RGBA layer. The two are mixed without premultiplication, so you may require the Premultiply COP.

Outputs

rgba

The resulting RGBA layer.

See also

Copernicus nodes