Forward plus render pass now removed from Renderer.cpp to it's own class.

This commit is contained in:
Tleety
2016-01-06 11:32:42 +01:00
parent eb69e03e82
commit e510f2b88c
7 changed files with 146 additions and 97 deletions
@@ -0,0 +1,17 @@
#include "Rendering/DrawFinalPassState.h"
DrawFinalPassState::DrawFinalPassState()
{
BindFramebuffer(0);
Enable(GL_DEPTH_TEST);
Enable(GL_CULL_FACE);
ClearColor(glm::vec4(200.f / 255, 0.f / 255, 200.f / 255, 0.f));
Clear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}
DrawFinalPassState::~DrawFinalPassState()
{
}