Add exposure HDR lighting

This commit is contained in:
4VRDriver
2020-09-22 10:40:25 +02:00
parent 34a294dcaf
commit bbd186bca9
13 changed files with 165 additions and 43 deletions

View File

@@ -27,8 +27,9 @@ private:
void limit_framerate();
void updateWindowSize(ShaderProgram *pp_program);
void updateExposure(ShaderProgram *shaderProgram);
void renderImGui(std::vector<Entity> *entites, PointLight *pointLight, glm::vec3 *lightColor, bool *rotateLightSource);
void renderImGui(std::vector<Entity> *entites, PointLight *pointLight, glm::vec3 *lightColor, bool *rotateLightSource, ShaderProgram *postProcessingProgram, float *intensity);
Window *gameWindow;
EventHandler *gameEventHandler;
@@ -41,4 +42,6 @@ private:
bool wireFrameMode = 0;
float exposure = 1.0f;
};