summary refs log tree commit diff stats
path: root/shaders/bloom2.fragment
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/bloom2.fragment')
-rw-r--r--shaders/bloom2.fragment4
1 files changed, 3 insertions, 1 deletions
diff --git a/shaders/bloom2.fragment b/shaders/bloom2.fragment index 323f441..ac18124 100644 --- a/shaders/bloom2.fragment +++ b/shaders/bloom2.fragment
@@ -51,7 +51,9 @@ void main()
51 } 51 }
52 52
53 vec3 bloom_c = (sum / vec4(NUM_TAPS)).rgb; 53 vec3 bloom_c = (sum / vec4(NUM_TAPS)).rgb;
54 bloom_c = vec3(bloom_c.r*bloom_c.r, bloom_c.g*bloom_c.g, bloom_c.b*bloom_c.b); 54 //bloom_c = vec3(bloom_c.r*bloom_c.r, bloom_c.g*bloom_c.g, bloom_c.b*bloom_c.b);
55 //bloom_c = vec3(bloom_c.r*bloom_c.r, bloom_c.g*bloom_c.g, bloom_c.b*bloom_c.b);
56 bloom_c = max(bloom_c - 0.25, vec3(0,0,0));
55 57
56 color = texture(screenTex, UV).rgb + bloom_c; 58 color = texture(screenTex, UV).rgb + bloom_c;
57} 59}