3d Gridmap - tiles rendering over player

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Macryc

Hi All. I’m having a problem with cells on a 3d grid map. I have cells with png textures fading out - I’m using those on edges od the tile map. Whilst all material parameters are identical to other tiles (just different texture), these faded ones somehow render on top of the player - see here: Imgur: The magic of the Internet
They are all on the same grid floor, basically identical just with a faded png texture. They also do that at seemingly random camera angles (when I orbit the cam, the rendering is correct from some angles bu there seems to be no rule to which). Help!

:bust_in_silhouette: Reply From: drorya

did you try to change the player’s Z Index?

If I do this it will impact everything else in the scene.
I patched it up by changing the render priority on this particular material to -1, which only works because i’m not using render priority on any other material and that way this one will render behind everything else. But if at any point down the line I will want there to be something underneath this cell item, i’ll be in trouble again.

Either way, this should not be happening. Like I said, it’s only doing that from certain angles and with certain objects. There is no consistency in this behavior so I’m guessing it must be some sort of a rendering bug in the engine?

Macryc | 2020-06-02 16:16