summaryrefslogtreecommitdiff
path: root/src/render/shaders/glsl/do_sdr_mod.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/shaders/glsl/do_sdr_mod.glsl')
-rw-r--r--src/render/shaders/glsl/do_sdr_mod.glsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/shaders/glsl/do_sdr_mod.glsl b/src/render/shaders/glsl/do_sdr_mod.glsl
new file mode 100644
index 00000000..05dbe180
--- /dev/null
+++ b/src/render/shaders/glsl/do_sdr_mod.glsl
@@ -0,0 +1,2 @@
+pixColor = saturate(pixColor, dstxyz, sdrSaturation);
+pixColor.rgb *= sdrBrightnessMultiplier;