summaryrefslogtreecommitdiff
path: root/assets/shaders/skybox.frag
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-07-18 23:10:11 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-07-18 23:10:11 +1000
commit01d598220b403f4ac4da3b7aa1f0ce398be3198f (patch)
tree1408b120506f29d3a2d6b3b29a0c91fc1b1371eb /assets/shaders/skybox.frag
parent544aac70015b6b075b172c42dd2d90dee3d029c0 (diff)
skybox works
Diffstat (limited to 'assets/shaders/skybox.frag')
-rw-r--r--assets/shaders/skybox.frag5
1 files changed, 3 insertions, 2 deletions
diff --git a/assets/shaders/skybox.frag b/assets/shaders/skybox.frag
index 242477d..d2f3844 100644
--- a/assets/shaders/skybox.frag
+++ b/assets/shaders/skybox.frag
@@ -4,8 +4,9 @@ out vec4 FragColor;
in vec3 TexCoords;
-uniform samplerCube cubemap;
+uniform samplerCube cubeMap;
void main() {
- FragColor = texture(cubemap, TexCoords);
+ FragColor = texture(cubeMap, TexCoords);
+ // FragColor = vec4(1.0, 0.0, 0.0, 1.0);
}