pass.vert 168 B

123456789101112
  1. // Passthrough shader for drawQuad()
  2. #version 140
  3. in vec3 Position;
  4. in vec2 Texcoord;
  5. out vec2 uv;
  6. void main() {
  7. uv = Texcoord;
  8. gl_Position = vec4(Position, 1.);
  9. }