Author Topic: SP exports roughness as indexed color - NOT as grayscale  (Read 123 times)

Hi,

Why does substance painter exports the roughness as indexed color and not as grayscale, like substance designer do.

This is a big problem, since Unreal Engine relies on this data to know whether to treat the texture as linear or as sRGB (in terms of automatically switching OFF the sRGB checkbox).

I've tried using different export settings from substance painter (such as L8, L16, L16F, L32F) and all of them just exported the texture as indexed color. I know it's indexed since I've opened the texture in photoshop and checked under IMAGE > MODE> INDEXED COLOR.

I think this should be rectified by the Allegorithmic team.

Thanks

Bump!

Hello,

Unfortunately this is a limitation of our image library used for writing the textures. I don't think we have a fix planned for that behavior at the moment. As for UE4, that's their choice of implementation and we can't really control that.
Don't forget your log file. It can be exported from the Help menu of the software.
-----------
Froyok aka Fabrice Piquet, Technical Artist and Product Designer at Allegorithmic.

Hi,

Why does substance painter exports the roughness as indexed color and not as grayscale, like substance designer do.

This is a big problem, since Unreal Engine relies on this data to know whether to treat the texture as linear or as sRGB (in terms of automatically switching OFF the sRGB checkbox).

I've tried using different export settings from substance painter (such as L8, L16, L16F, L32F) and all of them just exported the texture as indexed color. I know it's indexed since I've opened the texture in photoshop and checked under IMAGE > MODE> INDEXED COLOR.

I think this should be rectified by the Allegorithmic team.

Thanks

Hi,

I don't have this behavior.
What file format did you used?
What preset did you used?
Some screenshots from the export config panel and a sample file would be great.

Cheers, D

Hi,
Did some tests.
The gif format contains indexed colors.
The tiff, targa, png, jpg formats are grayscale or rgb depends on the preset configuration.
Cheers, D