diff --git a/data/shaders/logluminance.frag b/data/shaders/logluminance.frag index 309bbde40..10f3d4000 100644 --- a/data/shaders/logluminance.frag +++ b/data/shaders/logluminance.frag @@ -9,7 +9,6 @@ void main() { vec3 weight = vec3(0.2125f, 0.7154f, 0.0721f); vec3 col = texture(tex, uv).xyz; - // TODO: Investigate why color buffer has negative value sometimes - float luma = max(dot(col, weight), 0.); + float luma = dot(col, weight); FragColor = vec4(log(luma + delta)); } \ No newline at end of file