Hello Guest

Author Topic: I want to ask why will have White border1 pixel in game view  (Read 3626 times)

naktim

  • Newbie
  • *
  • Posts: 18
    • View Profile
I want to ask why will have White border1 pixel in game view
when I in sprites collection It's right!
but when I put In to game it's will have 1 pixel white border
How can I fix this problem

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: I want to ask why will have White border1 pixel in game view
« Reply #1 on: May 21, 2013, 08:26:40 am »
This is because you're using bilinear filtering, and your source textures has an incorrectly set up alpha channel.

Check here for a quick fix -
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,1706.0.html

And here for a thorough explanation of why this is happening -
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,189.msg693.html#msg693