PDA

View Full Version : Additive blended special effects in [SDL] software


Robert Cummings
05-28-2006, 05:22 AM
Hi,

I have been messing about with the sdl_gfx library, noticably the command SDL_imageFilterAddSDL_imageFilterAdd. Trouble is, I can't get it to work with SDL surfaces. Ideally I would feed it the rects of surface A and B to mix with, and then a destination rect to blit to the screen.

The docs are incredibly thin and everything I try crashes. The example makes no sense to me. I have posted on sdl mailing list a few days ago but still nothing. Wondering if someone here has had the opportunity to play with this?