Skip to content

Submerger - A workaround for merging texture sets from substance painter

License

Notifications You must be signed in to change notification settings

comphonia/substance-painter-merger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis (.org) Issues Github Stars License

Tool: Substance Painter 'Submerger'

Version: 1.1.1

Platform: Windows and Mac

Why This?

Substance Painter is a amazing, there is an issue that is yet to be addressed and that is merging texture sets, submerger helps solve that. Although not a substance painter plugin, it is used in conjunction with the Export to Photoshop plugin, already available in Substance Painter 2018 +, to help automate the process of merging textures.

How to Use Submerger

  • download or copy submerger.jsx from dist\submerger.jsx
  • export materials sets to photoshop using the Export to Photoshop plugin. choose materials you need.
  • In photoshop, navigate to File > Scripts > Browse and select the submerger.jsx file
  • Thats it! 😃 navigate to your Substance Photoshop exports folder to find your merged materials.

📹 Youtube Tutorial

Note: you can avoid navigating to the folder everytime by adding the scripts to your File > Scripts menu

MacOS: /Applications/Adobe Photoshop [VERSION]/Presets/Scripts/

Windows: C:/Program Files/Adobe/Adobe Photoshop [VERSION]/Presets/Scripts/

Testing

This is just a utility I created to automate the map merging process not necessarily a full solution.

Adobe Photoshop cc 2014 - 2020 & Substance Painter 2018 - 2020
  • Single mesh with 2 or more sub-objects or texture set passed v1.0.0
  • Exporting identical maps for both sets passed v1.0.0
  • Exporting non-identical maps (i.e basecolor & normal for set1 and only normal for set2) passed v1.0.0
  • Exporting all map sets passed v1.0.0
  • Some map names such as 04 default - failed v1.0.0 since the regEx does not account for the spacing, will be fixed in a future update.

Developers

  • Clone the repo
  • Run npm install to install dependencies
  • Make changes to the src/submerger.jsx
  • Run code analysis npm run test
  • Build code npm run build
  • Test in photoshop using dist/submerger.jsx

Misc

Find bugs? feel free to message me or create an issue

Want to fix it yourself? Create a pull request

Want to say thanks with coffee? ko-fi

About

Submerger - A workaround for merging texture sets from substance painter

Resources

License

Stars

Watchers

Forks

Packages