Navigation Menu

Skip to content

Commit

Permalink
implemented bloom lighting
Browse files Browse the repository at this point in the history
  • Loading branch information
themattinthehatt committed Feb 9, 2017
1 parent 521eb12 commit f4fe8dc
Show file tree
Hide file tree
Showing 12 changed files with 555 additions and 21 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -14,6 +14,7 @@ set(SOURCE_FILES
src/core/FramebufferObject.cpp
src/core/Skybox.cpp
src/core/vboIndexer.cpp
src/core/lighting/bloom/FBOBloom.cpp
src/core/loaders/loadShaders.cpp
src/core/loaders/loadTextures.cpp
src/core/loaders/loadCubemap.cpp
Expand Down
2 changes: 1 addition & 1 deletion main.cpp
Expand Up @@ -101,7 +101,7 @@ int main() {
// -------------------------------------------------------------------------

// for printing FPS
bool printFPS = false;
bool printFPS = true;
int counter = 0;
GLfloat currentTime = glfwGetTime();
GLfloat lastTime;
Expand Down
4 changes: 2 additions & 2 deletions src/core/FramebufferObject.cpp
Expand Up @@ -289,7 +289,7 @@ void FramebufferObject::render() {
// break vertex array object binding
glBindVertexArray(0);

};
}


void FramebufferObject::clean() {
Expand All @@ -306,4 +306,4 @@ void FramebufferObject::clean() {
glDeleteBuffers(1, &screenVertexBufferID);
glDeleteBuffers(1, &screenUVBufferID);

};
}

0 comments on commit f4fe8dc

Please sign in to comment.