Houdini 20.5 Nodes Copernicus nodes

Premultiply Copernicus node

Premultiplies or un-premultiplies an RGBA layer.

On this page

This node premultiplies or un-premultiplies an RGBA layer. Premultiplying multiplies the R, G, and B channels by the alpha channel. Un-premultiplying divides the R, G, and B channels by the alpha channel.

Parameters

Mask

The amount of the new value to mix in with the original value. Higher values mix in more of the new value. Lower values mix in less of the new value.

The default value is 1, which means this node uses only the new value. See Mask for more information.

Operation

Whether to multiply or divide the R, G, and B channels by the alpha channel.

Premultiply by Alpha

Multiply the R, G, and B channels by the alpha channel.

Un-Premultiply by Alpha

Divide the R, G, and B channels by the alpha channel.

Inputs

source

The original layer to premultiply or un-premultiply.

mask

An optional per-pixel mask amount that’s scaled by the Mask parameter.

Outputs

premult

The original layer premultiplied or un-premultiplied.

Copernicus nodes