Skip to content

Commit ebf5310

Browse files
committed
Minor code clean up.
1 parent 674d1e8 commit ebf5310

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

09-gaussian-blur/shader.frag

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ void main() {
1818
vec4 texture = texture2D(u_texture_0, uv);
1919
color = texture.rgb;
2020

21-
// vec2 imageResolution = vec2(100, 100);
22-
// vec2 imageResolution = vec2(2832, 2744);
23-
vec2 imageResolution = vec2(283.2, 274.4);
21+
vec2 imageResolution = vec2(2832, 2744);
22+
imageResolution = imageResolution / 10.0;
2423
vec2 texelSize = 1.0 / imageResolution;
2524

2625
// const float kernelSize = 0.0;

0 commit comments

Comments
 (0)