Should be able to load models now.
This commit is contained in:
1 parent
e2d9fe9189
commit
bae169977b
11 files changed
+440
-115
No files matched your search
@@ -0,0 +1,7 @@
|
||||
#version 330 core
|
||||
in vec3 frag_col;
|
||||
out vec3 col;
|
||||
|
||||
void main() {
|
||||
col = frag_col;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
#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;
|
||||
}
|
||||
Reference in new issue
Block a user