Texturing; OBJ loader

This commit is contained in:
2014-11-14 22:36:38 +01:00
parent 0be3e0a50e
commit df90fbf952
15 changed files with 956 additions and 281 deletions

14
shaders/textured.vs Normal file
View File

@@ -0,0 +1,14 @@
#version 330 core
uniform mat4 projection_matrix;
uniform mat4 modelview_matrix;
in vec3 vertex;
in vec2 vertexTC;
out vec2 fragTC;
void main(void) {
gl_Position = projection_matrix * modelview_matrix * vec4(vertex, 1.0);
fragTC = vertexTC;
}