Where I can find the good explosion and fire algorithm. I have seen in games that when an object is destroyed. An irregular shape is drawn there. And the color of shape darkens from the border to inside gradually. And this gives the effect of fire. What is the technique behind it. (Is there any supporting thing in dx 8).