From 195540ab9028abd6ae8263e72aaf587338a16223 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 20 Oct 2020 19:59:50 +0200 Subject: Remove unused `#define` from the tonemap shader It was a leftover from an earlier version of the debanding PR which used a simpler (but less effective) algorithm. --- servers/rendering/rasterizer_rd/shaders/tonemap.glsl | 2 -- 1 file changed, 2 deletions(-) (limited to 'servers/rendering/rasterizer_rd') 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). -- cgit v1.2.3