Texturing; OBJ loader
This commit is contained in:
14
shaders/textured.vs
Normal file
14
shaders/textured.vs
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user