Skip to content

Commit fecd30e

Browse files
committed
Update bloom.frag
1 parent 3b9a96d commit fecd30e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/effects/shaders/bloom.frag

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ uniform float intensity;
1212

1313
vec4 mainImage(const in vec4 inputColor, const in vec2 uv, const in GData gData) {
1414

15-
vec4 texel = texture(map, uv);
16-
return vec4(texel.rgb * intensity, max(inputColor.a, texel.a));
15+
return texture(map, uv) * intensity;
1716

1817
}

0 commit comments

Comments
 (0)