(Not sure if I should be posting this here for in UE4 forum. Sorry mods if this is wrong place!)
I have a bunch of rocks that I’m creating some giant cliffs with. The way I made them is I baked each rock (there’s about 10) from a high poly, then in my material setup I’m using the normal map along with a mask for edge wear (created in Painter) and a tiling rock texture. All set up using material functions within UE4.
My issue is from a distance you can tell the rock tiling texture is repeating. Doesn’t look great. Up close it looks fine, but players will also be coming from a distance, so I need the tiling to look good.
Is there a way to set up vertex painting for these rocks so I can add in moss or different textures where I need to? Not sure how to set this up with my current material setup and keep the unique normal maps for each rock.
Thanks
Replies
Anyways, in 4.19 and above, there is a much better way of doing layered materials now. This material function method isn't really good because you can't change the layer setup functions in the instances. With the new method, you can. I would highly recommend to check it out.
Also, a bit confused with your overdraw pic. It's also me being fairly new to these kinds of material setups in UE4. But what am I connecting to the "vertex color red channel"? I tried connecting another material function (a different rock matererial), but it wouldnt let me.
About the layered material approach:
Currently you don't want to, but imagine you have 5 more layered materials in the scene. With your current approach, you would need to wire up 5 different material setups. With the new approach above 4.19 the amount of layers are dynamic and can be edited in the material instance. So you can set up one graph and instance it to make different layered material setups with different layers and blend settings.
Though Im having a bit of an issue with this setup you suggested. When I paint on one rock, it paints on every other rock thats the same and not just the single instance. I have tried using one vertex color node (and using both red/green channels from this node) and also tried using two vertex color nodes (one for red and one for green).
Any ideas?