Using a framebuffer as a vertex buffer without moving the data to the CPU

Posted by Phineas on Stack Overflow See other posts from Stack Overflow or by Phineas
Published on 2010-04-03T03:20:57Z Indexed on 2010/04/03 3:23 UTC
Read the original article Hit count: 376

Filed under:

In OpenGL, is there a way to use framebuffer data as vertex data without moving the data through the CPU? Ideally, a framebuffer object could be recast as a vertex buffer object directly on the GPU. I'd like to use the fragment shader to generate a mesh and then render that mesh.

© Stack Overflow or respective owner

Related posts about opengl