Page 1 of 1
I made some fireworks
Posted: Tue Jul 04, 2017 8:53 pm
by Nuthen224
Happy 4th of July from America!
Although I dislike fireworks because they are loud, annoying, and typically used late at night, I was inspired by them and created this.
Re: I made some fireworks
Posted: Tue Jul 04, 2017 9:04 pm
by Sir_Silver
That's great dude, love it =)
Re: I made some fireworks
Posted: Wed Jul 05, 2017 2:16 pm
by davisdude
That's actually really good looking! Did you use shaders for the fireworks?
Re: I made some fireworks
Posted: Wed Jul 05, 2017 5:23 pm
by Nuthen224
Thanks, I like it too
The only shaders used are a bloom shader and another for the white "stripes" on the rockets.
The fireworks were made by spawning a bunch of particles with randomized direction and speed, all affected by gravity.
Each particle records its position and time each frame and then lines are drawn between each of those points. The alpha of the line is the average of its two points' time compared to the particle's current time.
Also each particle is shimmering because a circle is drawn at the particle location with radius randomized each frame.