Colors above value 1 is now added to the bloomtexture, and will be used to get a glow effect in later stage.

This commit is contained in:
Tleety
2016-01-20 15:23:49 +01:00
parent 78a1037983
commit 86824f1b1f
5 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ DrawFinalPassState::DrawFinalPassState()
BlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
Enable(GL_DEPTH_TEST);
Enable(GL_CULL_FACE);
ClearColor(glm::vec4(200.f / 255, 0.f / 255, 200.f / 255, 0.f));
ClearColor(glm::vec4(155.f / 255, 0.f / 255, 155.f / 255, 0.f));
Clear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}