Correction shader + autres choses

This commit is contained in:
Marc-Eric Martel
2021-10-25 10:50:08 -04:00
parent 781c2776b7
commit fbf2e8858e
10 changed files with 99 additions and 46 deletions

View File

@@ -48,6 +48,7 @@ void Skybox::Render(Transformation tran) const {
m_texture.Bind();
m_shader.Use();
m_vertexBuffer.Render();
m_shader.Disable();
glEnable(GL_DEPTH_TEST);
}