Getting vertex information after a Vertex Shader?

Hi there!

I wonder if it’s possible to get the position of the vertices after the execution of a vertex shader program?

The idea is to send the position of my vertices to the GPU then it processes them using a vertex shader program to translate and rotate them and after that the Vertex Shader program (or something else) returns to me the new position to store it in an array in my application.

Is this possible?


You can do that with Transform Feedback. You need GL 3.0 hardware to do it though.

Hi Alfonse,

Thank you very much for your help.