source: framspy/gui/visual/shaders/SkyboxVertexShader.glsl @ 1276

Last change on this file since 1276 was 1198, checked in by Maciej Komosinski, 22 months ago

Added simple Python GUI for Framsticks library/server

File size: 248 bytes
RevLine 
[1198]1#version 330
2
3in vec3 position;
4
5out vec3 textureCoords;
6
7uniform mat4 projectionMatrix;
8uniform mat4 viewMatrix;
9
10void 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.