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

Author Topic: Sprite Masking in SFML2  (Read 33013 times)

0 Members and 2 Guests are viewing this topic.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Sprite Masking in SFML2
« Reply #30 on: May 05, 2012, 10:01:37 am »
Because setFillColor(sf::Color::Transparent) has a special meaining (for optimization purpose), it skips drawing the inner part of the shape.
Laurent Gomila - SFML developer