Sigh.
Add blending a sprite on top of itself is well and good, but it's not suitable for all cases, and doesn't produce a glow which is as visible.
I don't WANT add blend. I already have add blend implemented! I've been using it for other stuff.
Add blend is not SUITABLE for some effects. I want a certain look. I want objects to glow until they reach bright white then dissapear. The only way to do that is if I can blit a sprite which is white and the same shape over the original.
There's two ways to do that. One is with a hardware method, and the other is by creating a new image from the original which is pure white. But I don't want to have to do that. It's clunky and wastes video memory.
I'm also not interested in a fuzzy blur glow that requires a DLL. I'm coding for cross platform compatability. And even if it didn't need a DLL I still wouldn't want a fuzzy blur for this effect. :-)
Add blending a sprite on top of itself is well and good, but it's not suitable for all cases, and doesn't produce a glow which is as visible.
I don't WANT add blend. I already have add blend implemented! I've been using it for other stuff.
Add blend is not SUITABLE for some effects. I want a certain look. I want objects to glow until they reach bright white then dissapear. The only way to do that is if I can blit a sprite which is white and the same shape over the original.
There's two ways to do that. One is with a hardware method, and the other is by creating a new image from the original which is pure white. But I don't want to have to do that. It's clunky and wastes video memory.
I'm also not interested in a fuzzy blur glow that requires a DLL. I'm coding for cross platform compatability. And even if it didn't need a DLL I still wouldn't want a fuzzy blur for this effect. :-)