This page contains information about the V-Ray Color Correct Texture in V-Ray for Modo.

 

Page Contents

 

Overview


The V-Ray Color Corect 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 Red Offset has been set to -0.5, the Green Offset has been set to 0.5 and the Blue Offset has been set to 0.5. The texture itself being 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.

 

 


 

UI Path: ||Shading viewport|| > Shader Tree > Add Layer button > V-Ray Utilities > V-Ray Color Correct

 

Color Correct Parameters




Texture Map  The input texture slot. Any kind of texture map can be used.

 

RGB Pre-Process Parameters


 This rollout is used to pre-process the colors in RGB space.




Pre-process On – Turn on/off all of the RGB space pre-processing operations.

Pre Brigtness – An amount added to all RGBA channels. Affects alpha.

Pre Contrast – Scales the RGBA channel values around 50% intensity. 0% contrast will produce 50% gray regardless the input color. Affects alpha.

Pre Gamma – 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.

Pre Mono – R, G and B channels are set to average of those 3 channels, gives a gray-scale image.

Pre invert – RGB channels are inverted around 50% resulting negative of the input image.

Pre Unmult Alpha – 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. This is how 3ds max and most compositing software work and therefore you don't need to think about this normally.

Pre Clamp – RGBA channels are clamped by the specified Pre Clamp Min/Max 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.

Pre Clamp Min/Max – Controls Pre Clamp.

Pre Clamp Normalize Available only when the Pre Clamp is enabled. Clamps colors are scaled so that they map to [0..1] range again after the clamp operation. Affects alpha.

 

HSL Parameters


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.



 

HSL On – Enables the Hue, Saturation, and Luminance controls.

HSL Hue Offset – Offset value is added to the Hue channel.

HSL Hue Gain – Offset value is added to the Hue channel, not multiplied.

HSL Saturation Offset – Offset value is added to the Saturation channel

HSL Saturation Gain – Saturation Channel is multipied by the Value.

HSL Lightness Offset – Offset value is added to the channel.

HSL Lightness Gain –  Lightness Channel is multipied by the Value.


HSV Parameters


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.


 

 

HSV On – Enables the Hue, Saturation, and Value controls.

Hsv Hue Offset Offset value is added to the Hue channel.

Hsv Hue Gain – Offset value is added to the Hue channel, not multiplied.

Hsv Saturation Offset – Offset value is added to the Saturation channel.

Hsv Saturation Gain – Saturation Channel is multipied by the Gain.

Hsv Value Offset – Offset value is added to the channel.

Hsv Value Gain – Value Channel is multipied by the Gain.


RGBA Channel Mapping Parameters


This section is used to remap channels RGBA channels and apply offset and gain to them.

 

 


RGBA Channel Mapping On – Turns on the RGBA channel mapping

 

R, G, B and A channel selectors – These 4 dropdowns 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.
  • Intens.: Average of the Red, Green and Blue channels.
  • In Red, In Green, In Blue, In Alpha: These are the unprocessed input channel values.
  • In Intens.: Average of the In Red, In Green and In Blue channels.
  • HSL Hue, HSL Sat, HSL Lum: These are the HSL stage's result values.
  • HSV Hue, HSV Sat, HSV Val: These are the HSV stage's result values.

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

Premultiply New Alpha – Multiply RGB channels with the resulting alpha value.


RGB Post-Process Parameters


 

 


Post-process on – Enables the RGB space post-processing operations.

Post Mono – R, G and B channels are set to average of those 3 channels, gives a gray-scale output.

Post Invert – RGB channels are inverted around 50% resulting negative of the input image.

Post Clamp – 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.

Post Clamp Min/Max – Controls Post Clamp.

Post Clamp Normalize – Available only when the Post Clamp is enabled. Clamps colors are scaled so that they map to [0..1] range again after the clamp operation. Affects alpha.