Skip to content

Commit

Permalink
convolution-6x6: Fix assignemnt of vec4
Browse files Browse the repository at this point in the history
  • Loading branch information
fritsch committed Dec 22, 2016
1 parent 5c99fb0 commit f1d48f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/shaders/convolution-6x6.glsl
Expand Up @@ -106,7 +106,7 @@ vec4 process()
vec3 xpos1 = vec3(xystart.x, xystart.x + stepxy.x, xystart.x + stepxy.x * 2.0);
vec3 xpos2 = vec3(xystart.x + stepxy.x * 3.0, xystart.x + stepxy.x * 4.0, xystart.x + stepxy.x * 5.0);

rgb =
rgb.rgb =
line(xystart.y , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.r +
line(xystart.y + stepxy.y , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.r +
line(xystart.y + stepxy.y * 2.0, xpos1, xpos2, linetaps1, linetaps2) * columntaps1.g +
Expand Down

0 comments on commit f1d48f2

Please sign in to comment.