fontTest.vs 266 B

123456789101112131415
  1. #version 430
  2. layout (location = 0) in vec3 position;
  3. layout (location = 1) in vec2 tex;
  4. uniform mat4 proj;
  5. uniform mat4 view;
  6. uniform mat4 model;
  7. out vec2 varTex;
  8. void main(void) {
  9. varTex = tex;
  10. gl_Position = proj * view * model * vec4(position, 1.0);
  11. }