Can somebody share 4-way and 5-way material blend schemes?

Hi guys! Recently I have tried to create the 3, 4 and 5 way texture blend material for vertex paint. I have followed those tutorials Create a Material for 4-Way Texture Blends | Unreal Engine Documentation and I created 3way blend, which works like a charm, but when I created another one, the 4way blend - then the fourth color does not work - it’s something like transparent /very weird. Can somebody share his own 4way and 5way blend material schemes, so I could try with different one ?

Thank you a lot :slight_smile:

Regards

If you’ve set up three way blending to use R,G and B, then your fourth blend would be the absence of all three (a base colour that you blend the rest on top of). I’m not sure vertex colour properly supports alpha, in which case a 5-way blend for vertex painting wouldn’t really be feasible. If it does, then I don’t get what the problem is?

The problem is: when I follow the scheme from official source one of colours is not working. THat’s why I am asking for another source/ formula, because I searched through the web and did not manage to find anything usefull.

Vertex color have 4 channels (R,G,B,A). So you can use it only for 4 blends.
If you need more, you should try to use multiple texture masks.
This masks will be unique for every mesh, so you need a lot of them to paint your scene.

Do you need examples of how to use many texture masks?

Incorrect! Assuming the alpha channel works (and I think it does), using all four channels gives you a 5 way blend; base texture + textures for each channel RGBA :slight_smile:

Hi, thanks for reply. I would need both examples of 4 channel setup and how to use many texture masks.

Thank you

Guys - I found out, that the official scheme for the 4way blend is not working ( I don’t know if it’s the 4.6.1 issue only ? ). Instead I did some kind of research by myself and obtained the fully working 4way blend, where the fourth colour is driven by the alpha ( correct me if I am wrong ) from the Vertex Colour. Here you can find the scheme, the same applies for the normal maps:

http://s10.ifotos.pl/mini/4way-blen_wxnprsn.jpg

And the textures applied on the landscape:

http://s2.ifotos.pl/mini/4way-blen_wxnprwa.jpg

So - can somebody show me the 5 way blend scheme ? BUMP

I never had an issue with 5,

ZacD - thanks mate ! Works like a charm :slight_smile: