Fix style issues and signature mismatch

This commit is contained in:
Rémi Verschelde
2018-11-28 10:21:07 +01:00
parent 0307f2885c
commit dd06f6ee70
6 changed files with 21 additions and 25 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ void main() {
float luminance = max(frag_color.r, max(frag_color.g, frag_color.b));
float feedback = max(smoothstep(glow_hdr_threshold, glow_hdr_threshold + glow_hdr_scale, luminance), glow_bloom);
frag_color = min( frag_color * feedback, vec4(luminance_cap) );
frag_color = min(frag_color * feedback, vec4(luminance_cap));
#endif