branch | v_0 |
changeset 0 | bb715a82a8f1 |
child 2 | 3faef2f5128e |
-1:000000000000 | 0:bb715a82a8f1 |
---|---|
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 } |