Textures on top of other textures when using VBOs

Posted by GameDev-er on Game Development See other posts from Game Development or by GameDev-er
Published on 2012-06-22T16:36:26Z Indexed on 2012/06/22 21:26 UTC
Read the original article Hit count: 540

Filed under:
|
|
|

I'm currently making a cube style game. With chunks being drawn with VBOs. I'd like to know if there is a way to create an overlay texture on top of the existing texture without the need to rebuild the VBO. This is required to show activity in a cube (think of Minecraft when destroying a block and the little cracks start spreading).

I believe these are called "decals" but I've not found how to use them with VBOs. So how do I draw decals on OpenGL VBO drawn cubes?

© Game Development or respective owner

Related posts about opengl

Related posts about textures