Original Post
I'm trying to make a lightning bolt type effect (in 2D, though I'm sure 3D methods are similar). I can generate a lightning bolt but I'm having problems rendering the actual effect. My lightning bolt is a path that's made up of several lines. I'm basically rendering quads along these lines but the problem is where two lines (quads) meet; some ugly artifacts appear. These screenshots should explain what I mean better than words. Ugly joints:
Larger bolt showing how the quads join:
I'm wondering if I'm going about this effect completely the wrong way or if I'm not, what would be the proper way to render it. Thanks.
Larger bolt showing how the quads join:
I'm wondering if I'm going about this effect completely the wrong way or if I'm not, what would be the proper way to render it. Thanks.