Copy link to clipboard
Copied
I am using Unity 2022.2.10 and imported the Substance 3D plugin. When I import an SBSAR file it always imports/generates textures as .tga format files. Is there a way to change format of the textures to PNG in the settings of the substance plugin for unity?
I actually figured it out, SubstanceEditorEngine script has the texture generation with TGA format function, I just changed it to PNG and works perfectly for me
Copy link to clipboard
Copied
I actually figured it out, SubstanceEditorEngine script has the texture generation with TGA format function, I just changed it to PNG and works perfectly for me
Copy link to clipboard
Copied
Thanks. With the latest substance plugin for unity the Targa output is in the SubstanceGraphSOExtensions class. You have to change EncodeToTGA to EncodeToPNG and also the extension from TGA to PNG, for all the occurences. If anyone from Adobe is reading this, I'd like to request a small feature - it would be great to be able to configure this as the initial setup of the plugin and have it saved into settings. I like PNG more than TGA because it uses less space so it doesn't bloat the git repo.