openGL managing images, VBOs and shaders
Posted
by
roxlu
on Game Development
See other posts from Game Development
or by roxlu
Published on 2012-04-23T20:38:52Z
Indexed on
2012/06/23
15:24 UTC
Read the original article
Hit count: 271
I'm working on a game where I use shaders with vertex attributes (so not immediate mode). I'm drawing lots of images and changing the width/height of the quads I use to draw them a lot. To optimize this it's probably a good idea to have one buffer but then one needs to update the complete buffer when one image changes (or only a part of the buffer using glBufferSubData...)
I was just wondering what kind of strategies you guys are using?
© Game Development or respective owner