---
title: "V-Ray Color Correct Max"
canonical: "https://documentation.chaos.com/space/VRAYHOUDINI/113279898/V-Ray+Color+Correct+Max"
format: markdown
---
This page contains information about the V-Ray ColorCorrect node.


## **Overview**

---

<span style="color: #333333">The V-Ray Color Corect (Max) texture works with the Red, Green and Blue channels of a texture map and allows them to be remapped to different colors. In the example shown here, the </span><span style="color: #333333">**Red Offset **</span><span style="color: #333333">is set to -0.5, the </span><span style="color: #333333">**Green Offset**</span><span style="color: #333333"> is set to 0.5 and the </span><span style="color: #333333">**Blue Offset**</span><span style="color: #333333"> is set to 0.5. The texture itself is a fabric texture. The image on the Left is the original texture and the one on the right shows the texture after being changed by V-Ray Color Correct.</span>

![image](media://7f1f89f5-2bd9-4bcf-aa93-ca7f018a27f5)


## **Color**

---

**Texture Map **–** **<span style="color: #404040">The input texture slot. Any kind of texture map can be used.</span>

![image](media://1454e388-2cfa-4922-a454-2170b77ee554)


## **Pre-Processing**

---

<span style="color: #404040">T</span><span style="color: #333333">his rollout is used to pre-process the colors in RGB space.</span>

<span style="color: #333333">**Enabled **</span><span style="color: #333333">– Turns on/off all of the RGB space pre-processing operations.</span>

<span style="color: #333333">**Brightness **</span><span style="color: #333333">–</span><span style="color: #333333">** **</span><span style="color: #333333">An amount added to all RGBA channels. Affects alpha.</span>

<span style="color: #333333">**Contrast **</span><span style="color: #333333">– Scales the RGBA channel values around 50% intensity. 0% contrast produces 50% gray regardless the input color. Affects alpha.</span>

<span style="color: #333333">**Gamma **</span><span style="color: #333333">–</span><span style="color: #333333">** **</span><span style="color: #333333">Modifies the RGBA channel values exponentially. Gamma is a non-linear operation which does not change black (0%) and white (100%) while changing the other values. Higher gamma values produce darker mid-tones while lower gamma values produce brighter mid-tones. Affects alpha.</span>

<span style="color: #333333">**Make Grayscale**</span><span style="color: #333333"> –</span><span style="color: #333333">** **</span><span style="color: #333333">R, G and B channels are set to average of those 3 channels, gives a gray-scale image.</span>

<span style="color: #333333">**Invert **</span><span style="color: #333333">– RGB channels are inverted around 50% resulting negative of the input image.</span>

<span style="color: #333333">**Unmultiply the Alpha **</span><span style="color: #333333">–</span><span style="color: #333333">** **</span><span style="color: #333333">If the source texture has alpha channel, RGB channel values are normally multiplied with the alpha channel value. For example, if a white pixel has 50% alpha, it's stored as %50 gray. This provides faster compositing operations since RGB values are already multiplied with alpha. </span>

<span style="color: #333333">**Clamp **</span><span style="color: #333333">–</span><span style="color: #333333">** **</span><span style="color: #333333">RGBA channels are clamped by the specified </span><span style="color: #333333">**Clamp Min/Max**</span><span style="color: #333333"> values. The normal range of the parameters is [0..1] but it can still specify values out of this range to clamp HDRI images. Affects alpha.</span>

<span style="color: #333333">**Clamp Min/Max **</span><span style="color: #333333">– Controls </span><span style="color: #333333">**Clamp**</span><span style="color: #333333">.</span>

<span style="color: #333333">**Normalize Clamped Input (0-1)**</span><span style="color: #333333">– Available only when the</span><span style="color: #333333">** Clamp**</span><span style="color: #333333"> is enabled. Clamps colors are scaled so that they map to [0..1] range again after the clamp operation. Affects alpha.</span>

![image](media://7798ba7c-d65d-4984-9a58-728c115cb0ca)


## **HSL Correction**

---

<span style="color: #333333">Manipulates the channels in HSL space. If this section is active, RGB color from the previous rollout is converted to HSL space, processed and then converted back to RGB space before passing to the next stage.</span>

<span style="color: #333333">**Enabled **</span><span style="color: #333333">– Enables the Hue, Saturation, and Luminance controls.</span>

<span style="color: #333333">**Hue Offset **</span><span style="color: #333333">–</span><span style="color: #333333">** **</span><span style="color: #333333">Offset value is added to the Hue channel.</span>

<span style="color: #333333">**Hue Gain **</span><span style="color: #333333">– Offset value is added to the Hue channel, not multiplied.</span>

<span style="color: #333333">**Saturation Offset**</span><span style="color: #333333"> –</span><span style="color: #333333">** **</span><span style="color: #333333">Offset value is added to the Saturation channel</span>

<span style="color: #333333">**Saturation Gain **</span><span style="color: #333333">– Saturation Channel</span><span style="color: #333333">** **</span><span style="color: #333333">is</span><span style="color: #333333">** **</span><span style="color: #333333">multiplied</span><span style="color: #333333">** **</span><span style="color: #333333">by the</span><span style="color: #333333">** Value.**</span>

<span style="color: #333333">**Lightness Offset **</span><span style="color: #333333">–</span><span style="color: #333333">** **</span><span style="color: #333333">Offset value is added to the channel.</span>

<span style="color: #333333">**Lightness Gain **</span><span style="color: #333333">– Lightness Channel is</span><span style="color: #333333">** **</span><span style="color: #333333">multiplied by the</span><span style="color: #333333">** Value.**</span>

![image](media://90e7b7cf-524f-4c1d-8a7c-d6b40284e2a2)


## **HSV Correction**

---

<span style="color: #333333">Manipulate the channels in HSV space. If this section is active, RGB color from the previous rollouts are converted to HSV space, processed and then converted back to RGB space before passing to the next stage.</span>

<span style="color: #333333">**Enabled**</span><span style="color: #333333"> – Enables the Hue, Saturation, and Value controls.</span>

<span style="color: #333333">**Hue Offset**</span><span style="color: #333333"> – Offset value is added to the Hue channel.</span>

<span style="color: #333333">**Hue Gain**</span><span style="color: #333333"> – Offset value is added to the Hue channel, not multiplied.</span>

<span style="color: #333333">**Saturation Offset**</span><span style="color: #333333"> – Offset value is added to the Saturation channel.</span>

<span style="color: #333333">**Saturation Gain**</span><span style="color: #333333"> – Saturation Channel is</span><span style="color: #333333">** **</span><span style="color: #333333">multiplied</span><span style="color: #333333">** **</span><span style="color: #333333">by the</span><span style="color: #333333">** Gain.**</span>

<span style="color: #333333">**Value Offset**</span><span style="color: #333333"> – Offset value is added to the channel.</span>

<span style="color: #333333">**Value Gain**</span><span style="color: #333333"> – Value Channel is</span><span style="color: #333333">** **</span><span style="color: #333333">multiplied</span><span style="color: #333333">** **</span><span style="color: #333333">by the</span><span style="color: #333333">** Gain.**</span>

![image](media://a24ecf92-629d-4dec-bd82-ee43f6b47718)


## **RGBA Channel Mapping**

---

<span style="color: #404040">This section is used to remap channels RGBA channels and apply offset and gain to them.</span>

<span style="color: #000000">**Enabled**</span><span style="color: #000000"> – Turns on the RGBA channel mapping.</span>

**R, G, B and A channel selectors** – These 4 drop-downs remap different values in each channel. Select from channel values at different stages of the ColorCorrect pipeline.

- **Red, Green, Blue, Alpha:** These are the resulting channel values of all previous operations.
- **Intensity: **Average of the Red, Green and Blue channels.
- **In Red, In Green, In Blue, In Alpha: **These are the unprocessed input channel values.
- **In Intensity: **Average of the In Red, In Green and In Blue channels.
- **HSL Hue, HSL Saturation, HSL Lightness:** These are the HSL stage's result values.
- **HSV Hue, HSV Saturation, HSV Value:** These are the HSV stage's result values.

**Offset & Gain** – For each channel there are two parameters Offset and Gain. An offset value is added to the channel while the gain is multiplied.

<span style="color: #000000">**Premultiply the New Alpha**</span><span style="color: #000000"> – </span><span style="color: #404040">Multiply RGB channels with the resulting alpha value.</span>

![image](media://ddce9de0-98db-4636-bdaa-2a7729aaa0d1)


## **Post-Processing**

---

<span style="color: #333333">**Enabled **</span><span style="color: #333333">– Turns on/off post-processing.</span>

<span style="color: #333333">**Make Grayscale **</span><span style="color: #333333">– R, G and B channels are set to average of those 3 channels, gives a gray-scale output.</span>

<span style="color: #333333">**Invert **</span><span style="color: #333333">–</span><span style="color: #333333">** **</span><span style="color: #333333">RGB channels are inverted around 50% resulting negative of the input image.</span>

<span style="color: #333333">**Clamp **</span><span style="color: #333333">– RGBA channels are clamped by the specified min and max values. The normal range of the parameters is [0..1] values out of this range  can be used to clamp HDRI images. Affects alpha.</span>

<span style="color: #333333">**Clamp Min/Max**</span><span style="color: #333333"> – Controls </span><span style="color: #333333">**Clamp.**</span>

<span style="color: #333333">**Normalize**</span><span style="color: #333333"> </span><span style="color: #333333">**Clamped Input (0-1)**</span><span style="color: #333333"> – Available only when the </span><span style="color: #333333">**Clamp**</span><span style="color: #333333"> is enabled. Clamps colors are scaled so that they map to [0..1] range again after the clamp operation. Affects alpha.</span>

![image](media://27ed03bf-ff35-45a7-9aa9-d7b857e6acae)