Hello there! I’ve started developing using opengl and learned the basics of 2d and now I know how to create a game and manage all the main stuff, but if for an example I am trying to draw 10000 32x32 textures I barely get FPS and that is because I need to implement a SpriteBatcher to fix my performance.
Correct me if I’m wrong, but a spritebatch simply stores all the vertex data of all the rendering on the screen, same for textures and then simply draws them at once? I need to do this with VBOs, then how can I do this? (Just give me a little push and I’ll figure out myself)
Another thing is that I saw and read about shaders and I questioned my self, are shaders useful for 2d projects?