The transparency in my game works partially, but if a transparent sprite goes behind another transparent sprite that is being drawn second, it will overlap the other one even though it is transparent.
Here is an example:
(http://i.imgur.com/cosZTZI.png)
I am using glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) for my blending mode. Is there a way to fix this easily?
You have to sort transparent sprites by their distance to the camera.