diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-08-22 08:00:35 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-08-22 08:06:54 +0200 |
commit | 411f0755a848e02811baf4062f51906c86a5e994 (patch) | |
tree | 82d840473c348e57b34ae6d586556786cd8e6dc0 /drivers/gles3/shaders | |
parent | c8d655f239de57e8f3258917cb281a6cc0a8fca1 (diff) |
Fix Reindhart tonemapping, invalid type in signature
Fixes #10533.
Diffstat (limited to 'drivers/gles3/shaders')
-rw-r--r-- | drivers/gles3/shaders/tonemap.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/tonemap.glsl b/drivers/gles3/shaders/tonemap.glsl index 988e31d1ea..73dec4f90c 100644 --- a/drivers/gles3/shaders/tonemap.glsl +++ b/drivers/gles3/shaders/tonemap.glsl @@ -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 ); } |