blob: 0796652822b344a3da5664d2867de6b96567332b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#version 330 core
in vec3 position;
in vec2 texcoord_vert;
out vec2 texcoord_frag;
uniform mat4 proj;
uniform mat4 view;
uniform mat4 model;
void main() {
texcoord_frag = texcoord_vert;
gl_Position = proj * view * model * vec4(position, 1.0);
}
|