summaryrefslogtreecommitdiff
path: root/assets/shaders/skybox.vert
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders/skybox.vert')
-rw-r--r--assets/shaders/skybox.vert19
1 files changed, 0 insertions, 19 deletions
diff --git a/assets/shaders/skybox.vert b/assets/shaders/skybox.vert
deleted file mode 100644
index 6b56527..0000000
--- a/assets/shaders/skybox.vert
+++ /dev/null
@@ -1,19 +0,0 @@
-#version 410 core
-
-layout(location = 0) in vec3 inPosition;
-// layout(location = 1) in vec3 inNormal;
-// layout(location = 2) in vec2 inTexCoords;
-
-uniform Camera {
- mat4 view;
- mat4 proj;
- vec4 viewPos;
-} cam;
-
-out vec3 TexCoords;
-
-void main() {
- TexCoords = inPosition;
- vec4 pos = cam.proj * cam.view * vec4(inPosition, 1.0);
- gl_Position = pos.xyww;
-}