console_no_bg.vs 371 B

1234567891011121314151617
  1. #version 330 core
  2. layout (location = 0) in vec3 aPos;
  3. layout (location = 1) in vec3 aColor;
  4. layout (location = 2) in vec3 bColor;
  5. layout (location = 3) in vec2 aTexCoord;
  6. out vec3 ourColor;
  7. out vec3 ourBackground;
  8. out vec2 TexCoord;
  9. void main()
  10. {
  11. gl_Position = vec4(aPos, 1.0);
  12. ourColor = aColor;
  13. ourBackground = bColor;
  14. TexCoord = vec2(aTexCoord.x, aTexCoord.y);
  15. }