Fixed draw final pass with shided objects having to many if-statments.

Shields is working with transparancy

Player cameras should have nearclip fater away and far clip nearer.

Defaultconfig push
This commit is contained in:
Teejoon
2016-03-02 11:59:48 +01:00
parent ef66f3ebe5
commit de9657700b
6 changed files with 380 additions and 405 deletions
@@ -27,6 +27,7 @@ DrawStencilState::DrawStencilState(GLuint frameBuffer)
BindFramebuffer(frameBuffer);
Enable(GL_DEPTH_TEST);
DepthMask(GL_TRUE);
Enable(GL_CULL_FACE);
ClearColor(glm::vec4(0.f));
}