f1ba7297fabacfa08103d54208b0183708f44f99
[opengl.git] / skyboxvert.glsl
1 #version 330
2
3 in vec3 pos;
4 out vec3 texCoords;
5
6 uniform mat4 projection;
7 uniform mat4 view;
8
9 void main() {
10         texCoords = pos;
11         gl_Position = projection * view * vec4(pos, 1);
12 }