I am planning on creating a game that takes place mainly on the water and in 3D. I was hoping to add interiors below sea level to the boats in this game. The problem is that the water plane would be rendered inside the boat when viewed from above.
To solve this it would be really awesome to have the ability to set some transparent plane that stops the water from being rendered. Unity achieves this by using something called a depth mask.
Now that I've layed out my problem lets come to my question(s). I hope it's ok to ask all of them in ne question as they're basically all the same question.
- Is it possible to achieve something like this in godot
- If it's not possible how would I achieve my goal (interior without water) in Godot
Here are some alternatives that might achieve the same effect
- Use a water-plane with a ship sized hole (not so good with multiple ships and ship sizes)
- Render the interior via render-to-texture everywhere it should be visible (expensive)
Thanks in advance