Fix Reindhart tonemapping, invalid type in signature

Fixes #10533.
This commit is contained in:
Rémi Verschelde 2017-08-22 08:00:35 +02:00
parent c8d655f239
commit 411f0755a8

View file

@ -170,7 +170,7 @@ vec3 tonemap_aces(vec3 color) {
return color = clamp((color*(a*color+b))/(color*(c*color+d)+e),vec3(0.0),vec3(1.0));
}
vec3 tonemap_reindhart(vec3 color,vec3 white) {
vec3 tonemap_reindhart(vec3 color,float white) {
return ( color * ( 1.0 + ( color / ( white) ) ) ) / ( 1.0 + color );
}