31
Graphics / Re: shader keep being bound after call to draw ?
« on: May 29, 2014, 12:11:57 am »
nevermind, I figured it out and it had nothing to do with what I explain in that post.... I can't delete the topic though
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
If you simply draw the tiles (and what's in them) from top to bottom, then buildings on lower tiles will naturally get drawn over some of the objects standing on higher tiles.
It should be fairly easy to do that with a vertex shader, though for a transformation this simple it might be best to stick with your existing solution.for which image?