Issue with Tiles in Godot

Hello, I have an issue in my game - the tiles when viewed from the top look fine and opaque…

However, when I go to a lower layer of the dungeon, they are transparent and it’s like I can see through them to the upper level.

How can I fix this issue?

This is backface culling; for performance reasons, Godot will automatically avoid rendering object faces that the player isn’t expected to see, but occasionally this is not the behaviour you want. In the StandardMaterial3D Inspector for this Mesh, look for Transparency–>Cull Mode and set it to Disabled, which is the intended mode for two-sided objects.

I don’t know if these tiles were designed to only be seen from one side or if this is just some kind of oversight, and I can’t download the project to check at the moment because the gateway is down. If it is a one-sided model, it probably won’t look the way you expect, but changing Cull Mode should still get you further ahead.

If Cull Mode doesn’t do the job, you may have to place another layer of tiles upside-down to act as a ceiling.

1 Like

Yep the tiles were designed only to be seen from the top so they dont actually have bottom faces which is why and you are correct in that the backface culling issue here.

Your solution is correct but it may be preferred to use a different asset or if you have some blender skills to import and duplicate the tile,rotate it and export it as one asset as else you are doubling the number of tiles in the scene :slight_smile:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms