This is a simple shader that applies a gamma and a gain (multiplication) of a color or map. It provides an alternative way of controlling gamma in 3ds Max. Many similar shaders exist in various OEM integrations of mental ray, so you also can use this shader for standalone mental ray and for cross-platform phenomena development.
Specifies the input color or map.
The gamma applied to the input.
The multiplier for the input.
When off, the shader takes the input, multiplies it by the Gain value, and then applies a gamma correction of Gamma to the color. When on, the shader takes the input, applies a reverse gamma correction of Gamma to the color, and then divides it by the Gain value.