Search Unity

Buged mesh render

Discussion in 'Graphics for ECS' started by Rup3rt, Feb 18, 2020.

  1. Rup3rt

    Rup3rt

    Joined:
    Nov 23, 2018
    Posts:
    7
    Hi!
    I have a bunch of simple entities that their purpose is to render background images.
    They are something like this:
    Transalation component
    RenderMesh component->
    -mesh = quad mesh
    -material = a unlit transparent material.

    I have an orthographic camera and I positioned those entities to be partially overlaping with each other.
    I want to sort some entities to be on top of another. To sort them I use the z axis; the entity on top have a lower value on the z axis.

    What happens is that the render don't respect the z axis sort.

    Anybody knows why this is happening?