I'm trying to traverse the gl_TexCoord array (just like in the orange book pg.230) however, after compilation the infoLog returns this error:
(241) : fatal error C9999: Invalid lvalue in assignment in CreateDag
here is the relevant vertex shader code:
for(int i=0; i < numTextures; i++)
gl_TexCoord[i] = texVector;
where numTextures is a uniform int.
what am I doing wrong?