1
attribute vec3 position;
2
attribute vec4 vtxcolor;
3
attribute vec2 texcoord;
6
uniform mat4 ModelViewProjectionMatrix;
9
varying vec2 TextureCoord;
14
TextureCoord = texcoord;
16
// Transform the position to clip coordinates
17
gl_Position = ModelViewProjectionMatrix * vec4(position, 1.0);