(5)

Texture Set Merger for Substance Painter

comphonia

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

DownloadblackDOWNLOAD



DISCUSS
over 2 years ago

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],


over 2 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 2 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 2 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 2 years ago

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


about 2 years ago

Thanks Jozin! That works for me too :D


about 2 years ago

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

Thanks again!


over 1 year ago

Thank you very much!


about 1 year ago

don't work in photoshop 2020


12 months 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.


9 months ago

[htym lb,bkf


about 1 month ago

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


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