font.vs 257 B

1234567891011121314
  1. #version 460
  2. layout (location = 0) in vec2 pos;
  3. layout (location = 1) in vec2 tex;
  4. layout (location = 2) in vec4 color;
  5. out vec2 varTex;
  6. out vec4 varColor;
  7. void main(void) {
  8. gl_Position = vec4(pos, 0.0, 1.0);
  9. varTex = tex;
  10. varColor = color;
  11. }