Rendering to offscreen textures using the GL_EXT_framebuffer_object extension