9 lines
179 B
Text
9 lines
179 B
Text
|
#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);
|
||
|
}
|