Indépendance!
This commit is contained in:
@@ -45,7 +45,7 @@ void Skybox::Init(float size){
|
||||
void Skybox::Render(Transformation tran) const {
|
||||
glDisable(GL_DEPTH_TEST);
|
||||
glDisable(GL_BLEND);
|
||||
tran.Use();
|
||||
glLoadMatrixf(tran.GetMatrix().GetInternalValues());
|
||||
m_texture.Bind();
|
||||
m_shader.Use();
|
||||
m_vertexBuffer.Render();
|
||||
|
Reference in New Issue
Block a user