Houdini 20.0 Nodes VOP nodes

MtlX Luminance VOP node

Output a grayscale luminance of a color.

On this page

Output a grayscale image containing the luminance of the incoming RGB color in all color channels; the alpha channel is left unchanged if present. Computed using the dot product of the incoming color with the luma coefficients of the active CMS configuration.

Parameters

in

color3

lumacoeffs

The luma coefficients of the current working color space; if no specific color space can be determined, the ACEScg (ap1) luma coefficients [0.2722287, 0.6740818, 0.0536895] will be used. Applications which support color management systems may choose to retrieve this value from the CMS to pass to the <luminance> node’s implementation directly, rather than exposing it to the user.

Outputs

out

color3

VOP nodes