[SDL] HOWTO color cycling

David Olofson david.olofson at reologica.se
Wed Aug 29 04:33:01 PDT 2001

On Wednesday 29 August 2001 13:18, Dan wrote:
> just an idea: save the image 3 times: 1time only with the r component,
> second the g component, third with the b component! then cycle it with
> the alpha value? is just an idea and i did no thinking about it!

It would probably be a lot faster to rip and adapt SDLs alpha blitting 
code to use separate alpha channels - because that's what you'd achieve; 
an RGB blending effect of sorts. :-)

//David Olofson --- Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------------> http://www.linuxdj.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> david at linuxdj.com -'

More information about the SDL mailing list