gearlib/shader.vert
2024-04-29 22:41:13 +12:00

11 lines
169 B
GLSL

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