- Home /
Question by
Epimolophant · Nov 13, 2016 at 11:06 PM ·
2d gamerenderingisometricordersprite renderer
Sprite rendering order on perspective camera
I'm experimenting with an isometric game by using sprites and a perspective camera.
However, rotating the camera causes weird rendering orders, and things to become on top of what they shouldn't.
The green terrain is a grid of square sprites. The character is on top of the terrain, with a slight angle (as shown in the upper image). But when the camera rotates, the terrain renders on top, even though nothing actually moved.
Is this a bug? Or am I doing something wrong? Thanks.
spriterenderorder.jpg
(182.4 kB)
Comment
Answer by ComeSweetDeath · Apr 19, 2017 at 09:01 PM
I'm having the same issue..
seems to be caused by the sprite renderer material. if you change it to Diffuse cutout, you lose the anti alias but this problem goes away