I have a scene on my game that involves a grassy landscape. Since it is on mobile, I can’t densely populate it all with grass. However, I would like to have patches of grass here and there that would render once it comes into a specific range.
Since my landscape (which is a static mesh because the actual landscape tool makes the game frame-y) has some random generation to vary the color in different patches, the grass that I lay down will also need to have this variation of color to reflect this, or there will be inconsistency in color.
So the problem is… how do I get the color from the landscape mesh? The first thing that pops into my mind is to get the landscape color from the location of the grass mesh and apply it? Is that even possible? If not, how else would I go about doing this?
Thanks in advance,