Added HDR bypass.

This commit is contained in:
Jonathas Costa
2019-08-15 17:07:25 -04:00
parent c0f48664dc
commit f69545a4d7
5 changed files with 24 additions and 9 deletions

View File

@@ -138,6 +138,7 @@ public:
void setSaturation(float sat) override;
int nAaSamples() const override;
void disableHDR(bool disable) override;
void update() override;
void performRaycasterTasks(const std::vector<RaycasterTask>& tasks);
@@ -197,6 +198,7 @@ private:
glm::ivec2 _resolution = glm::ivec2(0);
int _nAaSamples;
bool _disableHDR = false;
float _hdrExposure = 3.7f;
float _gamma = 0.95f;