I am Drawing a lightning effect animation using this image:
Below the result:
As you can see the outcome is not a continuous purple color as I wanted it to be, but it has black spaces in between some parts.
The way i am drawing this animation is that i am drawing two
LightningBolts every frame in Additive mode.
LightningBolt is drawn with the help of 21 random points across the width of the animation which makes
20 lines of various angles.
So I rotate the texture I have to match each angle I calculated for each of those 20 lines for the two
LightningBolts I am drawing in every frame in Additive mode.
What are your suggestions to overcome this problem ?