2014-08-12 20:01:29 -04:00
|
|
|
#if __VERSION__ >= 330
|
|
|
|
layout(location = 0) in vec2 Position;
|
|
|
|
layout(location = 3) in vec2 Texcoord;
|
|
|
|
#else
|
2014-01-12 16:07:14 -05:00
|
|
|
in vec2 Position;
|
|
|
|
in vec2 Texcoord;
|
2014-02-28 11:29:05 -05:00
|
|
|
#endif
|
|
|
|
|
2014-08-12 20:01:29 -04:00
|
|
|
out vec2 uv;
|
2014-01-12 16:07:14 -05:00
|
|
|
|
2014-08-12 20:01:29 -04:00
|
|
|
void main()
|
|
|
|
{
|
|
|
|
uv = Texcoord;
|
|
|
|
gl_Position = vec4(Position, 0., 1.);
|
2014-01-12 16:07:14 -05:00
|
|
|
}
|