diff --git a/skybox/back.png b/skybox/back.png deleted file mode 100644 index 89c8867..0000000 Binary files a/skybox/back.png and /dev/null differ diff --git a/skybox/bottom.png b/skybox/bottom.png deleted file mode 100644 index 71e172a..0000000 Binary files a/skybox/bottom.png and /dev/null differ diff --git a/skybox/front.png b/skybox/front.png deleted file mode 100644 index ced5156..0000000 Binary files a/skybox/front.png and /dev/null differ diff --git a/skybox/left.png b/skybox/left.png deleted file mode 100644 index 95c494e..0000000 Binary files a/skybox/left.png and /dev/null differ diff --git a/skybox/right.png b/skybox/right.png deleted file mode 100644 index 4fbfbb3..0000000 Binary files a/skybox/right.png and /dev/null differ diff --git a/skybox/skybox.frag b/skybox/skybox.frag deleted file mode 100644 index de8ed1b..0000000 --- a/skybox/skybox.frag +++ /dev/null @@ -1,9 +0,0 @@ -#version 330 -uniform samplerCube uTexture; - -varying vec3 vTexCoord; - -void main() -{ - gl_FragColor = texture(uTexture, vTexCoord); -} \ No newline at end of file diff --git a/skybox/skybox.vert b/skybox/skybox.vert deleted file mode 100644 index 28d9110..0000000 --- a/skybox/skybox.vert +++ /dev/null @@ -1,15 +0,0 @@ -#version 330 -layout(location = 0) in vec3 aPosition; - -out vec3 vTexCoord; - -uniform mat4 uProjectionMatrix; -uniform mat4 uViewMatrix; - -void main() -{ - // Strip translation column from camera's 4x4 matrix - mat4 view = mat4(mat3(uViewMatrix)); - gl_Position = uProjectionMatrix * view * vec4(aPosition, 1.0); - vTexCoord = aPosition; -} \ No newline at end of file diff --git a/skybox/top.png b/skybox/top.png deleted file mode 100644 index 79e3caa..0000000 Binary files a/skybox/top.png and /dev/null differ