2014-02-12 16:16:10 -05:00
|
|
|
#version 330
|
2014-01-11 17:57:48 -05:00
|
|
|
uniform mat4 ModelViewProjectionMatrix;
|
|
|
|
|
|
|
|
in vec3 Position;
|
2014-01-11 19:26:18 -05:00
|
|
|
in vec2 Texcoord;
|
2014-01-25 19:33:13 -05:00
|
|
|
in vec2 SecondTexcoord;
|
2014-01-11 19:26:18 -05:00
|
|
|
out vec2 uv;
|
2014-01-25 19:33:13 -05:00
|
|
|
out vec2 uv_bis;
|
2014-01-11 17:57:48 -05:00
|
|
|
|
|
|
|
void main(void)
|
|
|
|
{
|
2014-01-11 19:26:18 -05:00
|
|
|
uv = Texcoord;
|
2014-01-25 19:33:13 -05:00
|
|
|
uv_bis = SecondTexcoord;
|
2014-01-11 17:57:48 -05:00
|
|
|
gl_Position = ModelViewProjectionMatrix * vec4(Position, 1.);
|
|
|
|
}
|