Go to: Related nodes. Attributes.
HSV to RGB is a utility node that allows you to convert an
HSV (Hue-Saturation-Value) color into an RGB (Red-Green-Blue)
color.
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 |
Related nodes
blendColors, clamp, lightInfo,
gammaCorrect, surfaceLuminance, contrast, luminance, rgbToHsv, samplerInfo, setRange, resolution, renderQuality, renderGlobals, renderGlobalsList, baseShadingSwitch, singleShadingSwitch, doubleShadingSwitch, tripleShadingSwitch
Attributes (9)
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 |
|
|
|
|
|
renderPassMode
(arp ) |
enum |
1 |
|
|
outRgb
(o ) |
float3 |
0.0, 0.0, 0.0 |
|
|
outRgbR
(or ) |
float |
0.0 |
|
|
|
outRgbG
(og ) |
float |
0.0 |
|
|
|
outRgbB
(ob ) |
float |
0.0 |
|
|