Houdini 19.0 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 converting the input color to HSV, adding amount.x to the hue, multiplying the saturation by amount.y, multiplying the value by amount.z, then converting back to RGB. 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. For color4 inputs, the alpha value is unchanged.

Parameters

in

color3

amount

The HSV adjustment; a value of (0, 1, 1) is 'no change' and is the default.

Outputs

out

color3

VOP nodes