varying vec2 texCoord; void main() { vec4 posicio = vec4(gl_Vertex.xyz, 1.0); gl_Position = gl_ModelViewProjectionMatrix * posicio; texCoord = gl_MultiTexCoord0.st; }