Jump to content
Sign in to follow this  
  • entries
    570
  • comments
    2427
  • views
    217157

Untitled

Sign in to follow this  
Mushu

510 views

Whoa, explosions! I wish I knew about that when I was doing not-PHP stuff. Its a pretty sweet procedural 2D explosion texture generator which outputs files like this:



In a nutshell: fucking awesome.
Sign in to follow this  


6 Comments


Recommended Comments

Hurr, apparently it doesn't do alpha values which makes it somewhat less useful. The only 'fix' I can think of for that is a dirty hack which assigns the alpha value based on the brightness of each pixel, such that black -> full alpha and bright white = no alpha.

Or something. I can't believe it doesn't do alpha! >:(

Share this comment


Link to comment
You don't really need alpha for particles such as explosions etc. A simple additive blend (just on colour value) is really all that is required. So the explosions being on a black background makes them perfect.

I've quickly tested out the explosions in a little XNA app and they look really good [smile]

Once again, thanks for the link,
ViLiO

Share this comment


Link to comment
Quote:
Original post by ViLiO
You don't really need alpha for particles such as explosions etc. A simple additive blend (just on colour value) is really all that is required. So the explosions being on a black background makes them perfect.

Heh, I'll have to remember that. Whenever I try to get alpha stuff working, it takes me hours of scribbling in my notes and ranting on IRC to figure out how to get the effect I want. Hurr.

I've become overly dependant on colorkeys :P

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!