• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Substance 3D For Unity Plugin: PNG format instead of TGA

New Here ,
May 16, 2023 May 16, 2023

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?

TOPICS
General , How to , Import & Export , Substance Graph

Views

227

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , May 16, 2023 May 16, 2023

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 

Votes

Translate

Translate
New Here ,
May 16, 2023 May 16, 2023

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 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 21, 2023 Jul 21, 2023

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines