layer_view.vert.glsl 215 B

123456789101112
  1. #version 330
  2. in vec3 pos;
  3. in vec2 tex;
  4. in vec4 col;
  5. uniform mat4 projectionMatrix;
  6. out vec2 texCoord;
  7. out vec4 color;
  8. void main() {
  9. gl_Position = projectionMatrix * vec4(pos, 1.0);
  10. texCoord = tex;
  11. color = col;
  12. }