SFML community forums

Help => Graphics => Topic started by: Flawe on December 31, 2009, 03:47:57 pm

Title: Transparent image on top of cleared screen
Post by: Flawe on December 31, 2009, 03:47:57 pm
I'm trying to fade an image from 0 alpha to full alpha on top of an empty, cleared screen. The image never fades. Does the alpha not get blended with the background color?
Title: Transparent image on top of cleared screen
Post by: Laurent on December 31, 2009, 04:12:08 pm
It does. Can you show your code?
Title: Transparent image on top of cleared screen
Post by: Flawe on December 31, 2009, 04:23:31 pm
Thanks for the fast reply, let me extract it from the code base...
Title: Transparent image on top of cleared screen
Post by: Flawe on December 31, 2009, 04:38:19 pm
Yeah, you're right, it does work as expected. I just had a bug in my code...thanks!