UE4 shader compatible with the Material Layering workflow used with the "Fire Hydrant" sample project available in Substance Painter.

See our documentation for more information.

Uploaded: over 1 year ago
Updated: 10 months ago
Version: 1
File Name: MaterialLayering.zip
Size: 134 KB

DownloadblackDOWNLOAD



DISCUSS
over 1 year ago

Thank you. I'm wondering how performance would hold up if we used this workflow for every prop in game though. Epic is suggesting to avoid using material layering unless very necessary.


over 1 year ago

Hmm this isnt working for me. The material is saying their is an unspecified function


over 1 year ago

cant make it working for me .
log says
[GenericMaterial] The limitation of 18 active texture samplers is exceded by your shader which uses 29 samplers
[GenericMaterial] Creation of the shader pbr-material-layering failed
[GenericMaterial] Creation of the shader preview-material-shader successful


over 1 year ago

naice


over 1 year ago

Thanks, found the UE4 files as mentioned.


over 1 year ago

I think there is something wrong with the blueprint (mat_layering_master), it show me some unlinked nodes, for instance: Missing Material Function, and two ones, where can I find some documentation about?


over 1 year ago

You have the unity tutorial on both UE4 version and Unity shader


over 1 year ago

Not working for me either. Unspecified function.


over 1 year ago

Doesn't work for me:
[GenericMaterial] The limitation of 18 active texture samplers is exceded by your shader which uses 29 samplers
[GenericMaterial] Creation of the shader pbr-material-layering failed


over 1 year ago

Really doesn't work. As others have said, the blueprint seems incomplete.


We tested the files again and they are working perfectly fine in 4.12 and 4.13. There is no blueprint, only a shader and its dependencies. Make sure all the files are extracted in the correct folder (see the readme) otherwise the UE4 Editor won't be able to find the files properly.


about 1 year ago

Will this work with 4.11? I have copied over the files, And the folders appear under content, but each folder is empty according to Unreal, but the uassets are all there when I check explorer.


about 1 year ago

oops..sorry for the horrible sentence structure. Should have proof read.


about 1 year ago

Why the video demonstration for Unity and not for UE?


10 months ago

As some people mention, this is not working. Some functions are not correctly linked and show up as unspecified.


10 months ago

It works if the MaterialLayering folder is directly under the root of your projects, but paths break if you store it under Developers folder


3 months ago

Very useful material. Thanks