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
- Thats it! 😃 navigate to your Substance Photoshop exports folder to find
your merged materials.
Tested on Adobe Photoshop CC 2014 - 2020
Uploaded: over 3 years ago
Updated: over 2 years ago
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)
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.
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.
any way to get more then 4k textures with this?
This actually would benefit the SPainter itself from exporting object materials that has 1 single UV space but are separated by specific UV layer pieces to paint. So that when you export multiple layers of 1 object the materials are combined for that texture set.
In example a 2k sword with separated multipieces: blade, guard, hilt, pommel with 1 UV map. 😞
First, why are multiple materials in the UV space? Why? super mario bros SP-only separation? Most programs and engines (unity, unreal) detest PNG files.