Author Topic: How to export EXRs that arent in sRGB color space? (for Maya/VRay usage)  (Read 619 times)

Hello! I am using Substance with the intent of exporting maps for use in VRay (a VrayMTL material) using the Vray preset in the exporter.

We're hitting an annoyance when using EXR as our texture export mode.

When we import the EXRs to Maya, they initially get set to "RAW" colorspace, which is correct. This works perfect for things like Glossiness, ior, and Normals, but the color textures, Diffuse and Reflection, only look correct if we read them in as sRGB color space (and apply the corresponding VRay texture input gamma attribute and set that to sRGB as well)

This is a lot of steps depending on the number of UDIMS or materials involved. I've tried setting the texture set's Diffuse channel to RGB8 instead of sRGB8, and also tried RGB32F, but both of these still export in sRGB color space, requiring us to set that in Maya every time.

Is there something we're missing or is there no way to export linear EXRs for color channels, or reverse whatever baked in sRGB space is applied before export?

Note that I cant attach a log file, since our workstations have no internet access for security reasons.

Quote
This is a lot of steps depending on the number of UDIMS or materials involved. I've tried setting the texture set's Diffuse channel to RGB8 instead of sRGB8, and also tried RGB32F, but both of these still export in sRGB color space, requiring us to set that in Maya every time.
The Data Type parameter next to the channels is not a color space settings, it just defines how the data is stored inside the channel. Color Spaces are hardcoded in Substance Painter, the Diffuse/BaseColor color channel will always be sRGB/gamma corrected.

Is there something we're missing or is there no way to export linear EXRs for color channels, or reverse whatever baked in sRGB space is applied before export?
Exporting to EXR should produce Linear images, even for sRGB channels like BaseColor. Do you have an example that we could reproduce ?
Don't forget your log file. It can be exported from the Help menu of the software.
-----------
Fabrice Piquet aka Froyok. Product Manager, Technical Artist and Documentation at Adobe.

We are experiencing this same issue. I'm not sure that statement is true. When we export our textures through the UI they are linear, when exported using the scripting api, they are srgb? Why would that be?

I'm having issues getting exports to work. When dealing with 32 and 16 bit exports in exr or hdr formats the gamma from the painter exchange seems to be tagging the exported images as srgb and not linear. How can i fix this? I'm doing the exports using the scripting api.