Every frame my vertex buffer changes, It will be a lot of work to pass the vertex buffer data to a texture just to read.
I am not using a texture buffer instead of the vertex buffer because a pixel in the texture buffer can only save 4 variables and i need to save 10.
and again I am not dividing those variables in various pixels(3 pixels RGBA) of the texture because when I change the variables i will need to compute the same changed variables 3 times in the pixel shader.....
OHH i just come out with a solution, i can use a texture buffer 2D, saving the 10 variables in a column of pixels and compute the 10 variables at once in the geometry shader using a line list were each line is a column of the 2D texture.
Edited by lomateron, 11 October 2012 - 01:15 AM.