Skip to content Skip to sidebar Skip to footer

Alternative To Accum Buffer In Opengl Es?

Just noticed that Opengl ES 1.0, 1.1, and probably also 2.0 don't have an accum buffer in Android. I'm missing out on some neat effects like a simple fireworks display and realist

Solution 1:

You should be able to emulate the accum buffer via render-to-texture and regular blend operations. In short, just make your own accum buffer.

EDIT: Render-to-texture is supported via frame buffer objects as part of OpenGL ES 2.0 and via the GL_OES_FRAMEBUFFER_OBJECT extension for OpenGL ES 1.x.

See OpenGL extensions available on different Android devices for availability of this extension.

If there is no framebuffer object extension available, you could still render to the back buffer and then use glCopyTexImage2D, but this is a little bit slower.

Post a Comment for "Alternative To Accum Buffer In Opengl Es?"