Revert "Fix negative value inside tonemap"
This reverts commit 16dc973faa
.
This commit is contained in:
parent
b5598fda57
commit
fbb71bca7e
@ -33,8 +33,6 @@ void main()
|
||||
|
||||
// Uncharted2 tonemap with Auria's custom coefficients
|
||||
vec4 perChannel = (col * (6.9 * col + .5)) / (col * (5.2 * col + 1.7) + 0.06);
|
||||
// Protect us from negative coefficient just in case...
|
||||
perChannel = max(perChannel, vec4(0.));
|
||||
perChannel = pow(perChannel, vec4(2.2));
|
||||
|
||||
vec2 inside = uv - 0.5;
|
||||
|
Loading…
Reference in New Issue
Block a user