salmon-wallpaper/assets/test_norm.vertex
2013-02-10 15:24:11 +00:00

12 lines
251 B
Plaintext

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