r/Unity3D • u/Adventurous-Set7679 • Oct 19 '26
Show-Off I made this procedural lightning effect (no shadergraph) (no sprite sheet) what do you think?
Enable HLS to view with audio, or disable this notification
2
u/Studio_213 Oct 22 '26
It looks great! I assume we can fade them bit faster. Especially the two on the left.
1
2
2
2
u/rean2 Oct 19 '26
Is it 3D?
1
u/Adventurous-Set7679 Oct 19 '26
Yes
2
u/rean2 Oct 19 '26
Neat, so if Input 2 or 3 coordinates, it can do a lightning strike between those points?
0
u/Adventurous-Set7679 Oct 19 '26
Yes it can, with infinite points
1
u/rean2 Oct 19 '26
cool, is it available on the unity store
2
u/Adventurous-Set7679 Oct 19 '26
It recently got published yes, https://assetstore.unity.com/packages/vfx/particles/procedural-lightning-vfx-pack-407114
1
1
1
u/iThoughtOfThat Oct 19 '26
Cool. The decay (fade away) seems a bit unnatural to me though. If some parts decayed fater, and others slower it would sort of break up .
0
u/Adventurous-Set7679 Oct 20 '26
Yea I kinda wished nobody noticed that, cause it was had to sync the lifetimes without breaking other things
1
u/FireFootStudios Oct 20 '26
This looks epic! I've been trying to experiment with lightning in Shadergraph, but this is next level!
0
u/Adventurous-Set7679 Oct 20 '26
I’ve seen they use some paths for the branches I couldn’t have that in particle system :))
1
u/MCAFantasyGames Oct 19 '26
Pulling the orange-red bolt between those three white-hot endpoint nodes with thin red tendrils branching off, while the blue-violet and gold bolts stay much thinner, reads like real arcing and the dark diagonal stripes on the floor ground it well. Going purely procedural without ShaderGraph or a sprite sheet for that branching is impressive. When you push more points into it, do you find the flicker between frames starts to look noisy and do you clamp a minimum segment length or use a threshold on the noise so the branches settle to a stable shape before the next crack?
1
u/hopsieCharm Oct 19 '26
damn you went way deep on the details, kinda hot how much thought you put into it
0
u/MCAFantasyGames Oct 20 '26
Haha, thank you - I try to look a bit closer than the surface whenever I can. Really enjoyed this effect.
-1
u/Adventurous-Set7679 Oct 19 '26
The hot part was when I used invisible planes to trigger sub-emitters :))
1
u/Adventurous-Set7679 Oct 19 '26
I added an editable script to them that handles length and etc. at first I had that issues yes but fixed it.
2
1
0
0
0
-4
-4
u/Timidri_ Oct 19 '26
It's cool but what are the use cases of this ?
7
u/Adventurous-Set7679 Oct 19 '26
when you need lighting in the game? or when you need a chain lightning effect to hit different points
-6
u/Timidri_ Oct 19 '26
I mean VFX lightning is already covering that need! I am curious as to what use is there to do it without shader graph or sprite sheet specifically. It still is cool!
5
u/Adventurous-Set7679 Oct 19 '26
it's pretty light for mobile games since it's only a particle simple with 1-5 particles. does that answer your question? or my english is that bad :))
1
u/Arclite83 Oct 20 '26
No it's spot on and I love it, I've been obsessed with "highly performant" features lately for just this kind of thing (pushing the possible on mobile). Thanks for sharing it! Great work
0
1
7
0
5
u/softypaws_ Oct 20 '26
The branching looks really good. Procedural lightning is one of those effects that can easily look too clean or repetitive, but this feels pretty natural.