ttt3d/assets/shaders/vertex_shader.glsl

10 lines
193 B
Plaintext
Raw Normal View History

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