Submerger is used in conjunction with the Export to Photoshop plugin, already available in Substance Painter 2018, to help automate the process of merging multiple texture sets into one. This takes all maps into account. so you get only one material per object instead of per texture set.
How to Use Submerger
- download 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
- Thats it! 😃 navigate to your Substance Photoshop exports folder to find
your merged materials.
Tested on Adobe Photoshop CC2014 - CC2017
Uploaded: 9 months ago
Updated: 19 days ago
File Name: submerger.zip
Size: 1.6 KB
haha the problem was solved such way - just renamed .artLayers to .layers in this line (because of groups)
Sorry dude but this doesn't work for photoshop 2018, it's closing silently each time the mergeMaps method has executing (somewhere near to duplicate method)
Jozin, I haven't had a chance to test this on 2018 yet, make sure your texture set names don't have spaces in them like "04 default_normal.psd" and try again. This will be fixed in the next update.
Also you need to reverse the loop for k = 0 to layerNames.length because of nature of stack (layerNames.push) otherwise it places layers in wrong order
Glad you could make it work, their API changes over time without any fallback. This is really just a hack. Cheers
Thanks Jozin! That works for me too :D
This is awesome! Saves so much time version doing the baking for Multiple Mats in one textureset.