Hello all,
Last week I started scripting for Substance painter, to improve the workflow in our studio.
I would like to export Occlusion, Roughness and Metallic maps into 1 tga file, but I can't figure out how to do so.
Exporting a single one of those at the time is fine, but there seems to be no way to export them all in seperated channels through scripting.
I also couldn't find any documentation about directly calling presets from within the scripting API.
Can anybody help me with this?
So far I got a list of my materials by calling the alg.mapexport.documentStructure(); command.
After that I'm stuck with the alg.mapexport.save command, witch is only saving one map at the time.
Thanks in advance,
Ron Kamphuis