2014-01-11 17:57:48 -05:00
|
|
|
#version 130
|
|
|
|
uniform mat4 ModelViewProjectionMatrix;
|
|
|
|
|
|
|
|
in vec3 Position;
|
2014-01-11 19:26:18 -05:00
|
|
|
in vec2 Texcoord;
|
|
|
|
out vec2 uv;
|
2014-01-11 17:57:48 -05:00
|
|
|
|
|
|
|
void main(void)
|
|
|
|
{
|
2014-01-11 19:26:18 -05:00
|
|
|
uv = Texcoord;
|
2014-01-11 17:57:48 -05:00
|
|
|
gl_Position = ModelViewProjectionMatrix * vec4(Position, 1.);
|
|
|
|
}
|