Godot Version
4.3
Question
I’ve been experimenting with creating an equipment system for a top-down 3d game. I’m having some issues with my character base model clipping through clothing which is rendered on top of them whenever the camera moves away even slightly.
When the camera is close to the character everything renders correctly as seen here:
But when moving away even a tiny bit some parts of the body start clipping through the clothing. The further away the camera moves the more of the body start coming through the clothes.
I’m expecting it’s somehow related to the two meshes being too close to each other so the z-ordering is confused but I would expect that to result in flickering like most z-fighting issues cause. There is no flickering here when moving the camera, the clothes just gradually start rendering more and more behind the body the further away the camera gets. This is true for both orthogonal and perspective and happens both in the editor and in the game.
I’ve tried replicating the exact same thing in Unity to see if there was something fundamentally wrong with my models / rigging (it all loks perfectly fine in Blender) and it seems to render everything correctly regardless of camera distance as seen here:
Any help would be appreciated!