Depending on the size of your map you could draw a mask to a canvas at runtime and use that in your grass material to drive its opacity.
Depending on the size of your map you could draw a mask to a canvas at runtime and use that in your grass material to drive its opacity.