summaryrefslogtreecommitdiff
path: root/source/shaders/cq_batched.vs.glsl
blob: 947b45a90c92af3c2d3f528103441b4645d79afc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 330 core
layout(location=0) in vec4 aPos;
layout(location=1) in vec3 aColor;

out vec4 vertexColor;
uniform mat4 View;
uniform mat4 Projection;

void main() {
  gl_Position = Projection * View * aPos;
  vertexColor = vec4(aColor, 1.0);
}