Revert "Some color are negative, clamp them in loglum"
This reverts commit 43df357cfbdba74b2e1d6e7b5b79fabc2377a6b4.
This commit is contained in:
parent
17ba0f515c
commit
6f16831d00
@ -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));
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user