diff --git a/src/graphics/skybox.cpp b/src/graphics/skybox.cpp index 797467b4c..c0b37406f 100644 --- a/src/graphics/skybox.cpp +++ b/src/graphics/skybox.cpp @@ -299,6 +299,7 @@ void Skybox::generateSpecularCubemap() } glBindFramebuffer(GL_FRAMEBUFFER, 0); glDeleteFramebuffers(1, &fbo); + glActiveTexture(GL_TEXTURE0); } // generateSpecularCubemap