[SDL] Does "Alpha" channel blend blitting work on ALL platforms ???
Jesse P.
slnthero at aol.com
Tue Aug 7 13:58:15 PDT 2007
Thanks Sam
Looking forward to the new StarCraft when it is ready!
Jesse
SLNTHERO at AOL.com
http://www.SilentHeroProductions.com
Sam Lantinga wrote:
>> I wish to have screens in my next game that:
>> 1. fade from black to rendered screen
>> 2. fade from rendered screen to black
>>
>
>
>> Blitting a black sprite the size of the screen over the pre rendered screen
>> with varying levels of alpha enabled should do the trick.
>>
>
>
>> My question to the S.D.L.(R) game making experts is:
>> does "Alpha" channel blend blitting work on ALL platforms?
>>
>
> Yes, it does.
>
>
>> Another question is are would the above technique be C.P.U. intensive
>> and very expensive?
>>
>
> Yes, it is.
>
> You might also try gamma fading, which is faster when supported, but isn't
> supported on all platforms and drivers.
>
>
>> P.S. - "S.D.L.(R) Rocks!"
>>
>
> Thanks! :)
>
> See ya,
> -Sam Lantinga, Lead Software Engineer, Blizzard Entertainment
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
More information about the SDL
mailing list