Abrupt electric discharge between two points.
Lightning effect. Renders lightning between two points using LineRenderer and animated texture.
Package contains 3 animations, each represented with 3 textures (total 9 textures):
64 tiles, 4096x4096 pixels
32 tiles, 2048x4096 pixels
16 tiles, 2048x2048 pixels
Version 1.1: all textures are black and white.
Tiles are organized in columns. You can reduce texture size by removing one of the columns or scale the whole texture down a few times.
Add LightningScript.cs script to the object, then specify the target game object and desired material. The script will add a LineRenderer at runtime and continuously alternate between tiles while animating the LineRenderer vertices.
2026-02-18 00:00:00-update version:Lightning Effect v1.1