Enabling Color Management in Maya
When using file textures, you may encounter a problem with the textures looking washed out, or light not behaving the way you expect it to.
Maya 2015 and older
Maya 2016 and newer
In recent versions of Maya (since 2015), Color Management works quite well and is pretty easy to set up. So there is little reason not to do it. You should make it part of your standard workflow. Since Maya 2016 Color Management is on by default. Take care to turn on Color Management in your Preferences when opening a Maya 2015 file or older.
Enabling Color Management
This chapter explains how to enable color management in Maya 2015 and earlier.
Make sure the mental ray plug-in is already loaded! Open
- Open the Render Settings. In the Common tab, locate the Color Management section.
- Check Enable Color Managment
- Set the Default Input Profile to sRGB
- Set the Default Output Profile to Linear sRGB
This configures Maya to expect file textures (input) to be in non-linear sRGB color space, which is default for most images on your computer, internet, etc. And it sets the internal rendering process to be in linear sRGB color space (gamma = 1.0), which works best when dealing with lights and color values of shaders.
This causes the render process to return it's result in linear sRGB color space. If you view that on your screen, it will be too dark. That is because you screen is typically in non-linear sRGB space, usually with a gamma of 2.2. This problem is solved in the next section.
If you don't set up color management in your Render View properly, your images will be too dark:
This is because in the Render Settings we've told Maya to do the entire render process in linear sRGB color space. So the result is linear, but for a computer screen we want a gamma-corrected, non-linear color space to get proper color response.
- Open your Render View
- Set Image Color Profile to Linear sRGB and set Display Color Profile to sRGB.
When you save your renderings from your Render View or from a batch render directly, they will be in linear color space.
If you plan to use your image directly, it's best to tell the Render View to save a Color Managed image:
- In the Render View, choose (click the option box)
- Set the Save Mode to Save Color-Managed Image
- Then use to save your image.
If you are post-processing your image, e.g. in Photoshop, it's recommended to save your image in linear color space and use the post-processing software to apply a gamma correction. In Photoshop you can do this using an Exposure adjustment layer.
Color Management and Physical Sun and Sky or Mental Ray Exposure Control
If you are using the Physical Sun and Sky (or any other implementation of the mia_exposure_simple or mia_expousure_photographic Tone mapping), you need to take special care when enabling Color Management.
The problem is that the mia_exposure nodes will also apply gamma correction, which interferes with the color management. So you need to disable gamma correction in the Mental Ray exposure control tone mappers.
- Find the mia_exposure node(s), either through the Hypershade (Utilities tab), or as a tab in the camera Attributes in the Attribute Editor.
- Set the gamma to 1.0