MAXScript Language Reference > 3ds Max Objects > TextureMap : Material > TextureMap Types >

# Color_Correction : TextureMap

    Color_Correction - superclass: textureMap; super-superclass:material - classID: #(720, 0)

Value > MAXWrapper > Material > TextureMap > Color_Correction

| Materials and Maps - Quick Navigation

The Color_Correction TextureMap introduced in 3ds Max 2009 provides means to change the color information of an input texture map including Color Channel Rewiring,Brightness,Contrast,Hue,SaturationandExposure adjustments andmore.

Constructors:

    Color_Correction...
    ColorCorrection...

Properties:

    <Color_Correction>.color Color default: (color 0 0 0) -- fRGBA color; Color_1;

Get/set the map's color used when no input map has been specified.

    <Color_Correction>.Map UndefinedClass default: undefined -- texturemap;

Get/set the input map to color-correct.

## Channels Rollout

Topic Navigation

    <Color_Correction>.rewireR Integer default: 0 -- integer;

Get/set the Red= drop-down list index.

Possible values are:

0 - Red

1 - Green

2 - Blue

3 - Alpha

    <Color_Correction>.rewireG Integer default: 1 -- integer;

Get/set the Green= drop-down list index.

Possible values are:

0 - Red

1 - Green

2 - Blue

3 - Alpha

    <Color_Correction>.rewireB Integer default: 2 -- integer;

Get/set the Blue= drop-down list index.

Possible values are:

0 - Red

1 - Green

2 - Blue

3 - Alpha

    <Color_Correction>.rewireA Integer default: 3 -- integer;

Get/set the Alpha= drop-down list index.

Possible values are:

0 - Red

1 - Green

2 - Blue

3 - Alpha

    <Color_Correction>.rewireMode Integer default: 0 -- integer; Rewire_Mode

Get/set the Rewire Mode.

Possible values are:

0 - Normal

1 - Monochrome

2 - Invert

3 - Custom

## Color Rollout

Topic Navigation

    <Color_Correction>.hueShift Float default: 0.0 -- float;

Get/set the Hue Shift value.

    <Color_Correction>.saturation Float default: 0.0 -- float;

Get/set the Saturation value.

    <Color_Correction>.tint Color default: (color 0 0 0) -- fRGBA color; Hue_Tint;

Get/set the Hue Tint value.

    <Color_Correction>.tintStrength Float default: 0.0 -- float; Hue_Strength;

Get/set the Hue Tint Strength value.

## Lightness Rollout

Topic Navigation

    <Color_Correction>.lightnessMode Integer default: 0 -- integer;

Get/set the Lightness Mode.

Possible values are

0 - Standard

1 - Advanced

### Standard Mode Controls

Topic Navigation

    <Color_Correction>.brightness Float default: 0.0 -- float;

Get/set the Brighness value in Standard mode.

    <Color_Correction>.contrast Float default: 0.0 -- float;

Get/set the Contrastvalue in Standard mode.

### Advanced Mode Controls

Topic Navigation

    <Color_Correction>.exposureMode Integer default: 0 -- integer; Lightness;

Get/set theExposure Mode drop-down list's selection index.

Possible values are:

0 - Gain

1 - F-Stops

2 - Printer Lights

    <Color_Correction>.enableR BooleanClass default: false -- boolean;

Get/set the state of the R checkbox in Advanced Lightnessmode.

    <Color_Correction>.enableG BooleanClass default: false -- boolean;

Get/set the state of theGcheckbox in Advanced Lightness mode.

    <Color_Correction>.enableB BooleanClass default: false -- boolean;

Get/set the state of the B checkbox in Advanced Lightness mode.

### Gain

Topic Navigation

    <Color_Correction>.gainRGB Float default: 100.0 -- float; LightnessGainRGB;

Get/set the Gain RGB value in Advanced Lightnessmode.

    <Color_Correction>.gainR Float default: 100.0 -- float; LightnessGainR;

Get/set the Gain R value in Advanced Lightness mode.

    <Color_Correction>.gainG Float default: 100.0 -- float; LightnessGainG;

Get/set the Gain G value in Advanced Lightness mode.

    <Color_Correction>.gainB Float default: 100.0 -- float; LightnessGainB;

Get/set the Gain B value in Advanced Lightness mode.

### Gamma/Contrast

Topic Navigation

    <Color_Correction>.gammaRGB Float default: 1.0 -- float; LightnessGammaRGB;

Get/set the Gamma RGB value in Advanced Lightnessmode.

    <Color_Correction>.gammaR Float default: 1.0 -- float; LightnessGammaR;

Get/set the Gamma R value in Advanced Lightnessmode.

    <Color_Correction>.gammaG Float default: 1.0 -- float; LightnessGammaG;

Get/set the Gamma G value in Advanced Lightnessmode.

    <Color_Correction>.gammaB Float default: 1.0 -- float; LightnessGammaB;

Get/set the Gamma B value in Advanced Lightnessmode.

### Pivot

Topic Navigation

    <Color_Correction>.pivotRGB Float default: 1.0 -- float; LightnessPivotRGB;

Get/set the Pivot RGB value in Advanced Lightnessmode.

    <Color_Correction>.pivotR Float default: 1.0 -- float; LightnessPivotR;

Get/set the Pivot R value in Advanced Lightnessmode.

    <Color_Correction>.pivotG Float default: 1.0 -- float; LightnessPivotG;

Get/set the Pivot G value in Advanced Lightnessmode.

    <Color_Correction>.pivotB Float default: 1.0 -- float; LightnessPivotB;

Get/set the Pivot B value in Advanced Lightnessmode.

### Lift/Offset

Topic Navigation

    <Color_Correction>.liftRGB Float default: 0.0 -- float; LightnessLiftRGB;

Get/set the Lift/Offset RGB value in Advanced Lightnessmode.

    <Color_Correction>.liftR Float default: 0.0 -- float; LightnessLiftR;

Get/set the Lift/Offset R value in Advanced Lightnessmode.

    <Color_Correction>.liftG Float default: 0.0 -- float; LightnessLiftG;

Get/set the Lift/Offset G value in Advanced Lightnessmode.

    <Color_Correction>.liftB Float default: 0.0 -- float; LightnessLiftB;

Get/set the Lift/Offset B value in Advanced Lightnessmode.

### Printer Lights

Topic Navigation

    <Color_Correction>.printerLights Float default: 5.0 -- float; LightnessPrinter;

Get/set the "Printer Lights Per Stop" value in Advanced Lightness mode.

#### See Also

- TextureMap Common Properties, Operators, and Methods

- Material Common Properties, Operators, and Methods

- MAXWrapper Common Properties, Operators, and Methods

- Value Common Properties, Operators, and Methods