10 lines
130 B
GLSL

#version 330 core
layout (location = 0) in vec2 aPos;
out vec3 vColor;
void main() {
gl_Position = vec4(aPos, 0.0, 1.0);
}