Submerger is a photoshop plugin used in conjunction with the Export to Photoshop plugin, already available in Substance Painter, 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
submerger.jsx file
- Thats it! 😃 navigate to your Substance Photoshop exports folder to find
your merged materials.
Tested on Adobe Photoshop CC 2014 - 2020
Uploaded: over 2 years ago
Updated: 10 months ago
Version: 3
File Name: submerger.zip
Size: 6.69 KB
haha the problem was solved such way - just renamed .artLayers to .layers in this line (because of groups)
app.activeDocument.layers.getByName(layerNames[k]).duplicate(map1[0],
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.
Thanks again!
Thank you very much!
don't work in photoshop 2020
First - how come that you have several materials in the shared UV space? What the point? Just to keep them separated in SP? Second - do not use PNG files, most apps and engines (unity, unreal) hate them.
[htym lb,bkf