summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-20 21:02:04 +0200
committerGitHub <noreply@github.com>2020-10-20 21:02:04 +0200
commit207cfc9253ac03c173570c8ffc4818ff5ed7ccd0 (patch)
treec47b41c6ca633c41869d1fa7a41d52dc4ad6f78b
parentef62e9367746d09d3fc4e3172560943faf1b4363 (diff)
parent195540ab9028abd6ae8263e72aaf587338a16223 (diff)
Merge pull request #42944 from Calinou/tonemap-shader-remove-unused-define
Remove unused `#define` from the tonemap shader
-rw-r--r--servers/rendering/rasterizer_rd/shaders/tonemap.glsl2
1 files changed, 0 insertions, 2 deletions
diff --git a/servers/rendering/rasterizer_rd/shaders/tonemap.glsl b/servers/rendering/rasterizer_rd/shaders/tonemap.glsl
index ee66de4192..341cdab1ef 100644
--- a/servers/rendering/rasterizer_rd/shaders/tonemap.glsl
+++ b/servers/rendering/rasterizer_rd/shaders/tonemap.glsl
@@ -305,8 +305,6 @@ vec3 do_fxaa(vec3 color, float exposure, vec2 uv_interp) {
}
}
-#define QUARTER_COLOR 1.0 / 1024.0
-
// From http://alex.vlachos.com/graphics/Alex_Vlachos_Advanced_VR_Rendering_GDC2015.pdf
// and https://www.shadertoy.com/view/MslGR8 (5th one starting from the bottom)
// NOTE: `frag_coord` is in pixels (i.e. not normalized UV).