Skip to main content
Support
Search our knowledge base

Is there a simple way to make a sprite render in front of everything in the scene?

Comments

1 comment

  • Jeremy Harford

    Setting the render queue is particularly useful when dynamic meshes and procedural materials are used to affect sprites by sticking them to the camera; such as needed presently to create a pure ECS UI.  In such cases, we're playing a game where we squeeze the best performance possible from our software, so using multiple cameras is out right off.  We don't have access to the sprite shader, as the Sprite Renderer is decidedly not RenderMesh.  And naturally, using a canvas is impossible because none exists for ECS. 

     

    Having unnecessarily rambled at length about that, recall that when your shader is changed, you will have to set your render queue again.  It's easy to forget if you don't do it by habit.  

    0

Please sign in to leave a comment.