Houdini 20.5 Nodes VOP nodes

MtlX Hsvadjust VOP node

Adjust the hue, saturation and value of a color.

On this page

Adjust the hue, saturation and value of an RGB color by internally converting the input color to HSV. Amount is an HSV formatted color, and each element in the vector is applied in the following manor:

amount.x

Added to the input’s hue.

amount.y

Multiplied with the saturation.

amount.z

Multlied with the value.

A positive amount.x rotates hue in the 'red to green to blue' direction, with amount of 1.0 being the equivalent to a 360 degree (e.g. no-op) rotation. Negative or greater-than-1.0 hue adjustment values are allowed, wrapping at the 0-1 boundaries. If the input is a color4, the alpha value is unchanged.

Parameters

In

The input color to be adjusted.

Amount

Outputs

Out

Adjusted color.

See also

VOP nodes