scg3  0.6
skybox_vert.glsl
Go to the documentation of this file.
1 /**
2  * \file skybox_vert.glsl
3  * \brief Skybox vertex shader.
4  */
5 
6 #version 150
7 
8 in vec4 vVertex;
9 
10 uniform mat4 skyboxMatrix;
11 
12 smooth out vec3 texCoord0;
13 
14 
15 void main() {
16  gl_Position = skyboxMatrix * vVertex;
17  texCoord0 = vVertex.xyz;
18 }