9 lines
No EOL
179 B
GLSL
9 lines
No EOL
179 B
GLSL
#version 400 core
|
|
layout (location = 0) in vec3 position;
|
|
|
|
out vec4 vertexColor;
|
|
|
|
void main(){
|
|
gl_Position = vec4(position, 1.0);
|
|
vertexColor = vec4(1.0, 0.0, 0.0, 1.0);
|
|
} |