I just watched this video here and created my own landscape map.
Basically I have used three material functions (grass, stone and soil) and blended / masked them together into one material which gives me smooth transitions from grass to dirt to rock. I have then made and instance of that material and applied it to my terrain mesh.
What I need to know:
In a blueprint script I am using a LineTraceByChannel to get a bunch of random hit locations on the terrain. For each of these hits I would like to know what material is being displayed at that location, is it grass, rock or dirt? I don’t suppose this is even possible when using an instance of such a highly masked and blended material?
Thanks for your help!