Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Sprite Masking in SFML2
Print
Pages:
1
2
[
3
]
Author
Topic: Sprite Masking in SFML2 (Read 33378 times)
0 Members and 1 Guest are viewing this topic.
Laurent
Administrator
Hero Member
Posts: 32498
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.
Logged
Laurent Gomila - SFML developer
Print
Pages:
1
2
[
3
]
SFML community forums
»
Help
»
Graphics
»
Sprite Masking in SFML2
anything