From e84613bc32eb287168741d4183c0f19d28f322ba Mon Sep 17 00:00:00 2001
From: xkamikoo <58092037+xkamikoo@users.noreply.github.com>
Date: Mon, 1 Feb 2021 16:44:35 +0100
Subject: [PATCH] Lower gamma
---
grk-project.vcxproj | 4 ++--
shaders/shader_bloom.frag | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/grk-project.vcxproj b/grk-project.vcxproj
index 898082b..5332a2d 100644
--- a/grk-project.vcxproj
+++ b/grk-project.vcxproj
@@ -51,7 +51,7 @@
{1B448102-E76C-4347-BDC7-40D02A567DB6}
Win32Proj
grk-cw9
- 10.0
+ 10.0.17134.0
grk-project
@@ -66,7 +66,7 @@
false
true
Unicode
- v142
+ v141
diff --git a/shaders/shader_bloom.frag b/shaders/shader_bloom.frag
index 14887d7..20be9af 100644
--- a/shaders/shader_bloom.frag
+++ b/shaders/shader_bloom.frag
@@ -8,7 +8,7 @@ uniform sampler2D bloomBlur;
void main()
{
- const float gamma = 1.2;
+ const float gamma = 0.8;
vec3 hdrColor = texture(scene, vTexCoords).rgb;
vec3 bloomColor = texture(bloomBlur, vTexCoords).rgb;
hdrColor += bloomColor;