Hi!
In my game, when I draw nothing, I get between 200 and 500 FPS. When I draw only a part of the walls, 550 textured quads, I get only 22 FPS. I don’t understand what’s wrong. I bind the textures only when necessary, I use some static VBO when available. If I put all the coordinates into one single VBO or if I separate it in several VBO, the result is the same. The textures are composed of 10241024 pixels. I only use a part of these to draw a part of wall, some example I use a 256256 square from the main wall texture to draw an “impacted” wall. I use only PNG image files. Can you give me a solution to improve my performance please?
My game (the installation is a bit long, it can take 10 minutes) :
http://membres.lycos.fr/javalution/tuer.php