I have a texture of size width*height in format GL_RGBA, which I use
to store vertex data (x,y,z,w) for each vertex. I have width*height
number of vertices. Now I want to create a buffer which will store the
x value of each vertex from the texture.
I want this to be done on the gpu only. Is there any way to do this ?