summaryrefslogtreecommitdiff
path: root/src/vs.glsl
blob: 97f4a8f4534b374ec86ff8a77d5ddb4638933971 (plain)
1
2
3
4
5
6
7
8
9
in vec2 position;
in vec3 color;

out vec3 v_color;

void main() {
  v_color = color;
  gl_Position = vec4(position, 0., 1.);
}