Fix the depth sorting of ScreenSpace Renderables

This commit is contained in:
Alexander Bock
2018-11-21 13:09:35 -05:00
parent 9d0f0e00df
commit 5c25a88ba5
2 changed files with 24 additions and 4 deletions

View File

@@ -484,7 +484,7 @@ glm::mat4 ScreenSpaceRenderable::translationMatrix() {
}
void ScreenSpaceRenderable::draw(glm::mat4 modelTransform) {
glEnable(GL_DEPTH_TEST);
//glEnable(GL_DEPTH_TEST);
glDisable(GL_CULL_FACE);
_shader->activate();