0 votes

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)

Godot version 3.3
in Engine by (26 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.