Grass clipping with models

Godot Version

4.3

Question

I have an issue when it comes to combining my grass terrain with buildings and roads. The grass ‘clips’ through my models. Is there a standard solution for this problem? In the provided image, you can see how the grass clips through the balcony. I have a simple gradient shader on the grass and I believe that one might be able to minimize the clipping through additional lines of code to this shader, but I do not know what to add.

Hi @liam.andersson2002 , could you provide a simple working test project (grass + a one model example with the issue) or at least the shader code?

1 Like