Original Post
Hi guys, For my 2D game I have basically three layers: background, sprites, particles. Do I just set those to different Z-values, say 0.6, 0.5, 0.4 respectevely, and not worry about it ? Does it matter what order they go in to the vertex buffer ? Also, if my background takes up the whole screen do I need to Clear() anything ? Does the Z-Buffer have to get cleared even though I'm specifying the Z-values in the vertices ? Thanks.