Shadow will actually shut itself off and delete itself now

This commit is contained in:
FakeShemp
2016-03-13 16:19:17 +01:00
parent 52e5e2527a
commit 9b5e4c10fd
7 changed files with 409 additions and 140 deletions
+2
View File
@@ -168,8 +168,10 @@ void Renderer::Draw(RenderFrame& frame)
ImGui::SliderInt("SSAO Quality", &m_SSAO_Quality, 0, 3);
ImGui::SliderInt("Glow Quality", &m_GLOW_Quality, 0, 3);
ImGui::Checkbox("EnableShadows", &m_Shadow_Enabled);
m_SSAOPass->ChangeQuality(m_SSAO_Quality);
m_DrawBloomPass->ChangeQuality(m_GLOW_Quality);
m_ShadowPass->CheckStatus(m_Shadow_Enabled);
GLERROR("SSAO Settings");
//clear buffer 0
glClearColor(0.f, 0.f, 0.f, 0.f);