blob: 4faca1a5869f00d1b7fa0fbe8a580184fbbc06a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#version 330 core
uniform mat4 model_matrix;
uniform mat4 view_matrix;
uniform mat4 projection_matrix;
in vec3 position;
in vec2 tex_coord;
out vec2 frag_tex_coord;
void main() {
gl_Position = projection_matrix * view_matrix * model_matrix * vec4(position, 1.0);
frag_tex_coord = tex_coord;
}
|