Hiding shader generated grass under objects

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By CodeGuru12

I’m working on a farming simulator, and I’ve been looking for a decent way to make grass. I found this and set it up using the example project they have, and it works nicely so far with the hour-ish of setup I did to get it right.

My question is this, is there a way to hide the grass (using the shader, or another method) that’s underneath other blocks. I have implemented a crude farm tilling function that works okay, but the grass is sticking through it. Making it difficult to see what’s underneath it. Here’s a video of what it’s doing here

The grass is just a multimeshInstance, with the shader on it, and a bit of initialization code. You can see it if you download the project from the link. (I followed it to the T)