author | František Kučera <franta-hg@frantovo.cz> |
Sun, 26 Nov 2023 16:27:50 +0100 | |
branch | v_0 |
changeset 0 | bb715a82a8f1 |
child 2 | 3faef2f5128e |
permissions | -rw-r--r-- |
0 | 1 |
#version 330 core |
2 |
||
3 |
uniform mat4 model; |
|
4 |
uniform mat4 view; |
|
5 |
uniform mat4 projection; |
|
6 |
in vec3 vertices; |
|
7 |
in vec2 textureCoordinates; |
|
8 |
out vec2 textureCoordinate; |
|
9 |
||
10 |
void main() { |
|
11 |
gl_Position = projection * view * model * vec4(vertices, 1.0f); |
|
12 |
textureCoordinate = textureCoordinates; |
|
13 |
} |