NokiMo
pucklovesgames
pucklovesgames

patreon


Electricity Line Renderer - FILES

I've put together a little script to make Zappy Zaps. 

The shader itself is about as basic as it gets - all the work is done in script. I've included a few happy debug gizmos so you can position the electricity exactly where you want it, including letting it arc in a curve and randomising the middle position for some nice variation. I hope it comes in handy!

 I still am deeply deeply saddened by the limitations of lineRenderers, and yet, I can't stay away! So expect more lineRenderer based effects.

EDIT: Updated to version 2, with much more control over the zaps on a line by line basis.

You will need to add your own Bloom effect to the camera to get the glow. Everybody has their own way of doing it so I don't include it with these fx.

There's the standard (free) asset pack from Unity, available on the Asset Store. There's the (free) Post Processing Stack (the way I prefer to do it). And there's also many other quick and easy bloom image effects available. For the one in that gif I've used a script that comes with the Command Buffer examples https://docs.unity3d.com/Manual/GraphicsCommandBuffers.html (VideoBloom, found in RenderingcommandBuffers.zip)

Electricity Line Renderer - FILES

Related Creators