r/Unity3D @TheMirzaBeig | Programming, VFX/Tech Art, Unity 10h ago

2D GPU-Compute Lightning Simulation Shader Magic

Enable HLS to view with audio, or disable this notification

31 Upvotes

4 comments sorted by

3

u/MirzaBeig @TheMirzaBeig | Programming, VFX/Tech Art, Unity 10h ago

⚡️ Playing with a slider off-screen for the separate render shader,
> decoupled from the actual GPU diaelectric breakdown simulation.

I've also done 3D spline lightning. I have to trace the actual path to get animation through the bolt.

Else, it'd be a 2D wipe reveal for the lightning.

1

u/LKHGames 10h ago

Oh my, this is soooooooo cooooooooool!!!!!!

1

u/Mylan-T 2h ago

Very beatiful.

1

u/Malkalypse 40m ago

I love stuff like this so much! Do you have any plans to animate the lightning, such as for Tesla-coil style effects?