Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Transparent image on top of cleared screen  (Read 2260 times)

0 Members and 1 Guest are viewing this topic.

Flawe

  • Newbie
  • *
  • Posts: 24
    • View Profile
Transparent image on top of cleared screen
« 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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Transparent image on top of cleared screen
« Reply #1 on: December 31, 2009, 04:12:08 pm »
It does. Can you show your code?
Laurent Gomila - SFML developer

Flawe

  • Newbie
  • *
  • Posts: 24
    • View Profile
Transparent image on top of cleared screen
« Reply #2 on: December 31, 2009, 04:23:31 pm »
Thanks for the fast reply, let me extract it from the code base...

Flawe

  • Newbie
  • *
  • Posts: 24
    • View Profile
Transparent image on top of cleared screen
« Reply #3 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!

 

anything