Bloom effect added, will have to see if it needs improving. Also added HDR colors and gamma correction.
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user