From 6711b9c41792f436214af9dae8fb9fbb419b0fdf Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Tue, 20 Sep 2016 19:48:49 -0700 Subject: [PATCH] Restore proper mip handling to skybox --- libraries/model/src/model/skybox.slf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/model/src/model/skybox.slf b/libraries/model/src/model/skybox.slf index c0770525f7..7b25e36af7 100755 --- a/libraries/model/src/model/skybox.slf +++ b/libraries/model/src/model/skybox.slf @@ -48,7 +48,7 @@ void main(void) { // blend is only set if there is a cubemap if (skybox.color.a > 0.0) { - color = textureLod(cubeMap, coord, 0).rgb; + color = texture(cubeMap, coord).rgb; if (skybox.color.a < 1.0) { color *= skybox.color.rgb; }