Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: ylegrand on August 05, 2017, 11:54:15 PM
-
Hi everybody,
I looked at many threads of this forum but I didn't found any answer yet : some of my actors sprites have a glitch on the border of the sprite transparency :
(http://ylegrand.com/externe/wme_1.png)
Some precisions:
- I see this behaviour only on actors, not on other entities (maybe I'm just lucky)
- This does not appear in all the sprites of my actors
- It does not appear in the Scene Editor when I manually place my actor
- It appears whatever the kind of transparency I use (real transparency versus purple transparency dedicated color)
- My pictures are done with Photoshop and optimized with a PNG optimizer (https://psydk.org/pngoptimizer?lang=fr) (but the issue is the same even without optimization)
I imagine that it can be linked to the antialiasing + scale level, but I don't have any further ideas.
Do you have any clue for me to help me going forward?
Thanks a lot, and have a nive evening.
-
See this post (http://forum.dead-code.org/index.php?topic=6051.msg32951#msg32951). Adding a 1 pixel transparent border around your image should fix the problem.
-
Looks like I didn't searched correctly!
Thanks a lot, it works perfectly fine.