Message 1 of 1
Maya 2016: How to set per texture color space (API and/or MEL)?

Not applicable
05-29-2015
01:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
We have just ported our plugin to Maya 2016 but are having problems with sRGB. The original model has the color space sRGB set and looks great in the Viewport (sRGB). Our generated models does not have the option to change the color set (color management disabled), which results in a way too bright image. We are generating the mesh using API but are creating the phong material using MEL.
To the question(s):
How do I specify the color space (per texture) using API (C++) or MEL?
Also, how do I disable the color space file rules?
Any kind of help would be appreciated,
Thanks!