I’m creating an array of billboards, set animated textures with transparent to each of it then orbit the camera around those billboards. Problem is in some point at orbit degree looks the texture of billboards behind the front of it is cut as seen in here:
http://img815.imageshack.us/img815/3956/questionpic02.jpg
How to fix it?
Please kindly answer, thank you
Is it possible that you happen to be drawing the closer billboard first?
If so, then when the GPU gets around to drawing the next one, the depth buffer culls those pixels that underlap because it thinks they are behind something. At that stage, the GPU doesn’t differentiate between transparent & opaque.
If you think this may be your problem, sort your billboards from back to front and draw them in that order.under