source:
framspy/gui/visual/shaders/SkyboxVertexShader.glsl
@
1276
Last change on this file since 1276 was 1198, checked in by , 22 months ago | |
---|---|
File size: 248 bytes |
Line | |
---|---|
1 | #version 330 |
2 | |
3 | in vec3 position; |
4 | |
5 | out vec3 textureCoords; |
6 | |
7 | uniform mat4 projectionMatrix; |
8 | uniform mat4 viewMatrix; |
9 | |
10 | void main(void){ |
11 | gl_Position = (projectionMatrix * viewMatrix * vec4(position, 1.0)).xyww; |
12 | textureCoords = position; |
13 | } |
Note: See TracBrowser
for help on using the repository browser.