attribute vec3 vPosition; attribute vec3 vColor; attribute vec2 vTexCoord; varying vec2 texCoord; varying vec3 fragColor; uniform mat4 ProjectionMatrix; void main() { gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0); texCoord = vTexCoord; fragColor = vColor; }