I am generating terrain using a ProceduralMeshComponent. For every vertex in the mesh, the vertex may either be rock, sand, mud, gravel or a mix e.g (50% rock, 50% sand). The terrain including the vertices and their type is generated randomly in C++.
How could I show the terrain type using a material? I have a texture for each terrain type but not sure how to blend them together.
It would be great if I could do something like this but not sure how to achieve it in UE4: Gamasutra: Andrey Mishkinis's Blog - Advanced Terrain Texture Splatting