Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Blurry sprites?
Print
Pages: [
1
]
Author
Topic: Blurry sprites? (Read 2800 times)
0 Members and 1 Guest are viewing this topic.
Chuckleluck
Jr. Member
Posts: 52
Blurry sprites?
«
on:
April 06, 2012, 05:02:10 pm »
Hello,
Using SFML I've noticed my sprites end up blurry. For example, this is my source .png file:
http://us.fotolog.com/chuckleluck/124000000000004931/
This is the sprite, assembled in my SFML program:
http://us.fotolog.com/chuckleluck/124000000000004932/?share=1
As you can see, the edges are blurry. Is there a way to disable this feature? I want my program to be pixel-perfect.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: Blurry sprites?
«
Reply #1 on:
April 06, 2012, 05:07:26 pm »
image.
SetSmooth
(
false
)
;
Logged
Laurent Gomila - SFML developer
Chuckleluck
Jr. Member
Posts: 52
Re: Blurry sprites?
«
Reply #2 on:
April 06, 2012, 06:39:34 pm »
Ah. Thank you.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Blurry sprites?