Go to:
Related nodes. Attributes.
Gamma Correct is a utility node that allows you
to do gamma correction on a color or texture.
Gamma Correction allows you to smoothly remap the colors in
an image. Extreme values (very light or very dark) will
not change much, but midrange tones can be made brighter or darker.
This node allows you to specify different gamma values for the
three channels of the input.
The typical formula for calculating gamma is:
new == old ** (1.0/Gamma)
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 |
---|
gammaCorrect | dependNode | utility/color | kGammaCorrect | kBase kNamedObject kDependencyNode kGammaCorrect |
Related nodes
blendColors, clamp, lightInfo, surfaceLuminance, contrast, luminance, rgbToHsv, hsvToRgb, samplerInfo, setRange, resolution, renderQuality, renderGlobals, renderGlobalsList, baseShadingSwitch, singleShadingSwitch, doubleShadingSwitch, tripleShadingSwitch
Attributes (12)
gamma, gammaX, gammaY, gammaZ, outValue, outValueX, outValueY, outValueZ, value, valueX, valueY, valueZ
Long name (short name) | Type | Default | Flags |
---|
|
value
(v )
| float3 | 0.0, 0.0, 0.0 | |
|
|
|
|
|
gamma
(g )
| float3 | 1.0, 1.0, 1.0 | |
|
|
|
|
|
outValue
(o )
| float3 | 0.0, 0.0, 0.0 | |
|
| outValueX
(ox )
| float | 0.0 | | |
|
| outValueY
(oy )
| float | 0.0 | | |
|
| outValueZ
(oz )
| float | 0.0 | | |
|