Houdini 20.0 Nodes VOP nodes

Mtlx Complement Color VOP node

Returns complementary RGB color

On this page
Since 20.0

Takes in RGB color and returns complementary color by flipping chromaticity about D65 whitepoint (in CIE xyY space) while retaining luminance. The input is assumed to be in linear sRGB space.

Tips

  • Output values aren’t gamut clamped. Even if the input values are in 0 to 1 range, the output values could be outside this range.

  • To ensure correct operation with OCIO workflow, use Karma OCIO Color Transform to convert from scene_linear to lin_rec709 on input wire, and convert back with another transform in reverse.

Parameters

In

The input color in linear sRGB space.

See also

VOP nodes