11 lines
169 B
GLSL
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);
|
|
}
|