GLSL Texture
May 1, 2008
Leave a comment
Coordinates of the gl_TexCoord[0]
gl_TexCoord[0].t —— rows
gl_TexCoord[0].s ——cols
vec4 x = texture2D(textureX, vec2(Columns, rows));
gl_FragColor = x;
Coordinates of the gl_TexCoord[0]
gl_TexCoord[0].t —— rows
gl_TexCoord[0].s ——cols
vec4 x = texture2D(textureX, vec2(Columns, rows));
gl_FragColor = x;