Bloom effect added, will have to see if it needs improving. Also added HDR colors and gamma correction.

This commit is contained in:
Tleety
2016-01-21 12:02:28 +01:00
parent 86824f1b1f
commit 983f90504d
16 changed files with 398 additions and 105 deletions
@@ -0,0 +1,17 @@
#include "Rendering/DrawBloomPassState.h"
DrawBloomPassState::DrawBloomPassState()
{
//BindFramebuffer(0);
Disable(GL_BLEND);
Disable(GL_DEPTH_TEST);
Disable(GL_CULL_FACE);
ClearColor(glm::vec4(0.f / 255, 0.f / 255, 0.f / 255, 0.f));
Clear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}
DrawBloomPassState::~DrawBloomPassState()
{
}