Candy Crush Lightning Strike Effect

#1

Hi,

How can i make lightning effect like link below? Shader or animation?

Thanks

0 Likes

#2

One way is with sprites only. You have lightning segments (with some random variation) and soft circular glow textures which you draw together.

Think about this image where every color is a random variation. Then with start/end segments you would have the edge taper off.

sai%20(_)

For connecting / generating the segments you have a start and end position and pick some random variation for the connection points of the segments toward the final position with the final positioning exactly pointing at the end position.

2 Likes

#3

Thank you for the answer.

You mean snake style. Join head, body, tale in the tile?

1 Like