Author Topic: 1px vertical black borders on Image buttons made from the Widget Tool - Why?  (Read 2059 times)

humaliens

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
    • View Profile
I have an Atlas with a bunch of pngs as sprites. They are all different sizes some are with transparency. When I created the ATlas I used the default padding of 1 pixel between sprites. But I turned off the trim alpha setting.

Well just wondering if my buttons have to have even number dimensions are not when creating my Atlas. But some are even numbered and they still have this 1px black border that shows. I'd like to get rid of these vertical artifact borders on my buttons.

Any help is appreciated.

Thanks

zippo227

  • Jr. Member
  • **
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 55
    • View Profile
I suggest making your dimensions powers of 2. 4x8 would be good, and 6x9 would be strange.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Use Unity 4.2. It imports textures with "alpha is transparency" option by default.