2014-01-08 18:11:10 -05:00
|
|
|
// Passthrough shader for drawQuad()
|
2014-03-21 16:49:40 -04:00
|
|
|
#version 140
|
2014-01-04 19:08:00 -05:00
|
|
|
|
2014-03-09 16:06:02 -04:00
|
|
|
in vec3 Position;
|
|
|
|
in vec2 Texcoord;
|
2014-01-08 18:11:10 -05:00
|
|
|
out vec2 uv;
|
|
|
|
|
2013-11-30 16:33:06 -05:00
|
|
|
void main() {
|
2014-03-09 16:06:02 -04:00
|
|
|
uv = Texcoord;
|
|
|
|
gl_Position = vec4(Position, 1.);
|
2013-11-30 16:33:06 -05:00
|
|
|
}
|