KPUT - Create materials from texture maps, with UDIM support (substance painter compatible)

A convenience tool that can create multiple materials from texture maps, with UDIM support. Can replace multiple materials in a scene in one go. Compatible with Substance Painter.

I had issues importing UDIM based materials from Substance Painter in a convenient way, so I wrote this. Still in development. Hopefully won’t be needed soon.

Substance painter example (importing four UDIM based materials)

Early stages of development, so don’t expect too much.

Download zip

Github

Gumroad

Naming Guidelines

For the import to work, use the following naming convention (substance painter standard):

MATERIAL-NAME_MAP-TYPE

Examples:

Skin_Roughness.png
Skin_Opacity.png

For UDIM textures, make sure they end with a tile number of the kind:

Skin_Roughness_1001.png
Skin_Opacity_1003.png

Good to know

In order for Blender to recognize UDIM textures, it seems that currently (2.9) there has to be a 1001 tile present. To deal with this, the addon will create blank 1001 textures if one isn’t found. You can disable this in the Advanced options section, if preferred.

Current Limitations

Currently only supports map types:

Base_Color (albedo, diffuse)
Roughness
Metallic
Height
Normal
Emissive
Opacity
5 Likes

How does this differentiate from node wrangler’s functionality to import a set of images?

In two ways:

The Node wrangler function doesn’t seem to support UDIMs atm, I could be wrong, but haven’t been able to get it to work. The addon also uses a hack to deal with UDIMs that lack tile 1001, by creating an empty 1001 tiles before importing sequences that lack one.

Secondly, the addon allows you to create and if you wish, replace entire setups of materials. So if you have an object with many different materials, the addon will go through add/replace all materials, which I don’t think the node wrangler can do atm.

My hope is that node wrangler will do what this does soon, but I wrote this in the meantime.

2 Likes