Author Topic: Pixel stretching on the UI  (Read 1715 times)

scriptkiddy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Pixel stretching on the UI
« on: March 15, 2014, 03:05:52 PM »
Hi guys I have a big problem with my UI button.
When I import the images (no matter PNG,PSD) , and make the image button - top pixel are stretched:(
I have tried almost everything. My images are perfect. On the Atlas texture as well.
Why is that? Please find the attached file.
Please help me.

Warm Regards
Sergey

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Pixel stretching on the UI
« Reply #1 on: March 15, 2014, 06:14:49 PM »
This happens when you use a PMA shader with your atlas, and the atlas texture gets marked as "Alpha Is Transparency".

Turn off one of them.

There is no reason to use a PMA shader with your atlas right now. In fact, you had to have explicitly chosen "PMA Shader" option when making an atlas. It's off by default -- for this very reason.

scriptkiddy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: Pixel stretching on the UI
« Reply #2 on: March 16, 2014, 01:14:54 PM »
Thank you, it is working now.
I did know that:)

Thanks again.
BR
Sergey