This Photoshop script combines different texture sets that share a common, non-overlapping UV layout into a single file.
In many workflows, a model may share the same UV space (UDIM or single 0-1 tile), but Substance Painter exports them as separate textures based on Texture Sets. As a result, the user ends up with multiple files where most of the UV space is empty. This leads to a waste of computational resources and unnecessarily large project sizes. Currently, Substance Painter does not have a native feature to export these sets pre-combined.
This simple Photoshop script solves this problem by automatically overlapping these textures, giving you a single, optimized texture file for each common UV layout.