Go to:
Related nodes. Attributes.
Remap Value is a utility node that allows you to take an input
scalar value and remap its value using a gradient. One can remap this to a new output
scalar value and/or color.
The input value is used to select a point along the gradient to use for the output value.
The value specified by the Min attribute determines the input value that indexes the far left of
the ramp while the Max attribute determines the value at far right.
The outColor is determined by the color gradient and the outValue by the value gradient. If one only uses
the outValue, for example, then the color gradient is ignored.
This node is MP safe
Node name | Parents | Classification | MFn type | Compatible function sets |
---|
remapValue | node | utility/color:drawdb/shader/operation/remapValue | kRemapValue | kBase kNamedObject kDependencyNode kRemapValue |
Related nodes
clamp, lightInfo, gammaCorrect, surfaceLuminance, contrast, luminance, rgbToHsv, hsvToRgb, samplerInfo, setRange, resolution, renderQuality, renderGlobals, renderGlobalsList, baseShadingSwitch, singleShadingSwitch, doubleShadingSwitch, tripleShadingSwitch
Attributes (21)
color, color_Color, color_ColorB, color_ColorG, color_ColorR, color_Interp, color_Position, inputMax, inputMin, inputValue, outColor, outColorB, outColorG, outColorR, outValue, outputMax, outputMin, value, value_FloatValue, value_Interp, value_Position
Long name (short name) | Type | Default | Flags |
---|
|
inputValue
(i )
| float | 0.0 | |
|
|
inputMin
(imn )
| float | 0 | |
|
|
inputMax
(imx )
| float | 1 | |
|
|
outputMin
(omn )
| float | 0 | |
|
|
outputMax
(omx )
| float | 1 | |
|
|
value
(vl )
| compound | n/a | |
|
| value_Position
(vlp )
| float | 0.0 | | |
|
| value_FloatValue
(vlfv )
| float | 0.0 | | |
|
|
|
color
(cl )
| compound | n/a | |
|
| color_Position
(clp )
| float | 0.0 | | |
|
| color_Color
(clc )
| float3 | | | |
| color_ColorR
(clcr )
| float | 0.0 | | |
| | color_ColorG
(clcg )
| float | 0.0 | | |
| | color_ColorB
(clcb )
| float | 0.0 | | |
|
|
|
|
outValue
(ov )
| float | 0.0 | |
|
|
outColor
(oc )
| float3 | 0.0, 0.0, 0.0 | |
|
| outColorR
(ocr )
| float | 0.0 | | |
|
| outColorG
(ocg )
| float | 0.0 | | |
|
| outColorB
(ocb )
| float | 0.0 | | |
|