2018-12-17 10:27:54 +00:00
|
|
|
#version 330 core
|
|
|
|
layout(location = 0) in vec3 vert_pos;
|
|
|
|
uniform vec3 col;
|
2018-12-17 13:22:23 +00:00
|
|
|
uniform mat4 mvp;
|
2018-12-17 10:27:54 +00:00
|
|
|
out vec3 frag_col;
|
|
|
|
void main() {
|
2018-12-17 13:22:23 +00:00
|
|
|
gl_Position = mvp * vec4(vert_pos, 1);
|
2018-12-17 10:27:54 +00:00
|
|
|
frag_col = col;
|
|
|
|
}
|