10 lines
210 B
Plaintext
10 lines
210 B
Plaintext
|
#version 400
|
||
|
layout(location = 0) in vec3 vertex_position;
|
||
|
layout(location = 1) in vec4 vertex_color;
|
||
|
|
||
|
out vec4 vert_color;
|
||
|
void main()
|
||
|
{
|
||
|
gl_Position = vec4(vertex_position, 1.0);
|
||
|
vert_color = vertex_color;
|
||
|
}
|