postVertex.vs 198 B

123456789101112
  1. #version 430
  2. layout (location = 0) in vec2 pos;
  3. layout (location = 1) in vec2 tex;
  4. out vec2 varTextureCoord;
  5. void main(void)
  6. {
  7. gl_Position = vec4(pos, 0.0, 1.0);
  8. varTextureCoord = tex;
  9. }