Go to: Related nodes. Attributes.
This is useful when you want to control a color using HSV values. For example, say you want to animate a shader to run through all the rainbow colors. (This is the same as animating the Hue of an HSV color). To do this, create an HSV to RGB node, and connect the Out Rgb attribute to the shader color. Then animate the first channel of InHsv (which is the Hue).
In the table below, important attributes have their names listed in bold in the description column.
This node is MP safe
Node name | Parents | Classification | MFn type | Compatible function sets |
---|---|---|---|---|
hsvToRgb | node | utility/color:drawdb/shader/operation/hsvToRgb | kHsvToRgb | kBase kNamedObject kDependencyNode kHsvToRgb |
blendColors, clamp, lightInfo, gammaCorrect, surfaceLuminance, contrast, luminance, rgbToHsv, samplerInfo, setRange, resolution, renderQuality, renderGlobals, renderGlobalsList, baseShadingSwitch, singleShadingSwitch, doubleShadingSwitch, tripleShadingSwitch
inHsv, inHsvB, inHsvG, inHsvR, outRgb, outRgbB, outRgbG, outRgbR, renderPassMode
Long name (short name) | Type | Default | Flags | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
inHsv
(i )
| float3 | 0.0, 0.0, 0.0 | ![]() ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
outRgb
(o )
| float3 | 0.0, 0.0, 0.0 | ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
renderPassMode
(arp )
| enum | 1 | ![]() ![]() ![]() ![]() ![]() | ||||||||||||||