drawQuads_optimized.vert 285 B

1234567891011121314
  1. #version 330 core
  2. //note this shader is used in multiple places so don't modify it
  3. layout (location = 0) in vec3 a_Pos;
  4. layout (location = 1) in vec2 a_TexCoords;
  5. noperspective out vec2 v_texCoords;
  6. void main()
  7. {
  8. v_texCoords = a_TexCoords;
  9. gl_Position = vec4(a_Pos, 1.0);
  10. }