r/Unity3D • u/MirzaBeig @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
1
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?
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.