From 01d598220b403f4ac4da3b7aa1f0ce398be3198f Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Thu, 18 Jul 2024 23:10:11 +1000 Subject: skybox works --- assets/shaders/skybox.frag | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'assets/shaders/skybox.frag') 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); } -- cgit v1.2.3-70-g09d2