diff options
Diffstat (limited to 'skybox/shaders/cube.vs')
-rw-r--r-- | skybox/shaders/cube.vs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/skybox/shaders/cube.vs b/skybox/shaders/cube.vs deleted file mode 100644 index 3c11932..0000000 --- a/skybox/shaders/cube.vs +++ /dev/null @@ -1,17 +0,0 @@ -#version 330 core - -layout(location = 0) in vec3 apos; -layout(location = 1) in vec2 atex_coords; - -uniform mat4 model; -uniform mat4 view; -uniform mat4 projection; - -out vec2 tex_coords; - -void -main(void) -{ - gl_Position = projection*view*model*vec4(apos, 1.0f); - tex_coords = atex_coords; -} |