Home Unreal Engine

ID mask and Detail mask in 1 material, UE5

Asim7
polycounter lvl 9
Offline / Send Message
Asim7 polycounter lvl 9
Hi, i'm making a interior environment and I have quite a few props I need to model.

I would like to do it correctly and efficiently, doing a material with PBR textures in a layered approach.
All I want is to be able to have 1 single material with 3 surfaces, based on ID map.
Then I want a detail map for the dirt, dust, wear. But I need it to cover the entire mesh (uv2) but look different depending on the surface. So no shiny metal wear on leather or fabric.

I tried making a very simple 3 layer material, 3 different surfaces based on ID map via a second UV channel.
httpsd3kjluh73b9h9ocloudfrontnetoriginal4X9bc9bc364c1cc66ddce67d83ae24a49956b71a4a97cjpeg
I also made a Detail map for stuff like dust (red channel), edge wear (green channel), dirt (blue channel)
httpsd3kjluh73b9h9ocloudfrontnetoriginal4Xeedeed9f2ecc53fde0422310e5115ca4a93b89cf9d3jpeg
Here is the albedo node set up, 3 diffuse textures. Each applied based on the ID map
httpsd3kjluh73b9h9ocloudfrontnetoriginal4X31231286d19cbfec3d34652d835b179031a661b93d9jpeg
and finally here is the full material setup currently, it has 3 "layers" with 3 textures each, 3 diffuse, 3 ORM, 3 normals + a global normal for the mesh's baked normal.
httpsd3kjluh73b9h9ocloudfrontnetoriginal4X1bb1bb9ca8edccf02e3fa49436e5be66072e7b8486fpng
Now everything works except I don’t know how I can have the details such as edge wear show up and be different for each layer when it comes to roughness, color etc. So I have light brown leather edge wear on leather, shiny metal edges and scratches edgewear on metal parts.

I am doing this approach so I don't have to make 100s of unique textures for each prop, and to be able to use tilable surface materials for better resolution with a detail map to control the edgewear, dirt etc.

Also the ID map so Instead of using 3 material slots, I use 1 material for 1 prop and it has 3 different surfaces.
For example, 1 material for the sofa. "leather sofa", "fabric pillows" and "metal legs".
Sign In or Register to comment.