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.
This commit is contained in:
Hugo Locurcio 2020-10-20 19:59:50 +02:00
parent c77466b276
commit 195540ab90
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C

View File

@ -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).