We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d6b28 commit e8e35e5Copy full SHA for e8e35e5
java/examples/Topics/Shaders/BlurFilter/data/blur.glsl
@@ -36,7 +36,7 @@ void main(void) {
36
vec4 col8 = texture2D(texture, tc8);
37
38
vec4 sum = (1.0 * col0 + 2.0 * col1 + 1.0 * col2 +
39
- 2.0 * col3 + 4.0 * col4 + 2.0 * col4 +
40
- 1.0 * col5 + 2.0 * col6 + 1.0 * col7) / 16.0;
+ 2.0 * col3 + 4.0 * col4 + 2.0 * col5 +
+ 1.0 * col6 + 2.0 * col7 + 1.0 * col8) / 16.0;
41
gl_FragColor = vec4(sum.rgb, 1.0) * vertColor;
42
}
0 commit comments