Texture Set Merger for Substance Painter


PluginsSubstance Painter

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 3 years ago
Updated: over 2 years ago
Version: 3
File Name: submerger.zip
Size: 6.69 KB


over 3 years ago

haha the problem was solved such way - just renamed .artLayers to .layers in this line (because of groups)

over 3 years ago

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)

over 3 years ago

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.

over 3 years ago

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

over 3 years ago

Glad you could make it work, their API changes over time without any fallback. This is really just a hack. Cheers

over 3 years ago

Thanks Jozin! That works for me too :D

about 3 years ago

This is awesome! Saves so much time version doing the baking for Multiple Mats in one textureset.

Thanks again!

over 2 years ago

Thank you very much!

over 2 years ago

don't work in photoshop 2020

about 2 years ago

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.

almost 2 years ago

[htym lb,bkf

over 1 year ago

any way to get more then 4k textures with this?

about 1 year ago

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. 😞

9 months ago

Awesome! You can check here for more.

about 1 month ago

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.