i have a scene with triangles. Each triangles are stored as attributes of a screen filling quad with some other data like normal, color, and some vectors. these vectors and the normal are stores in textures coordinates.
Now i want to load this data from these vector to make some computation in the pixel shader. i think the built-in variable :
.attribute vec4 gl_multitexcoord*;
.varying vec4 gl_texcoord* ;
are usefull but i don’t know how to use them?
If u want to know more: http://www.cs.uiuc.edu/Dienst/Repository/2.0/Body/ncstrl.uiuc_cs/UIUCDCS-R-2002-2269/pdf
thx for u answers