I am trying to draw the grid using GL.LINES it’s completed.
but Grid was drawed in last like top of the game object’s
so i need set the draw order in gameobjects how to do this.
Thank you.
I am trying to draw the grid using GL.LINES it’s completed.
but Grid was drawed in last like top of the game object’s
so i need set the draw order in gameobjects how to do this.
Thank you.
You should be able to set your depth/draw order settings in your camera inspector.
I thought to bake shadows, but I need to use only realtime lights because these one must be activated and deactivated by lightswitches... how can I solve this?
– bromley
Sorry, but how should we answer this? Where did you actually use the GL drawing code? That's the main cause where and when your lines are drawn. Also what material / shader did you use? When you use a shader that does depth testing most overdrawing issues should be gone. You provides almost no details on where and how you actually draw your lines.
– Bunny83