Author Topic: Sprites and Labels are blurry after NGUI uppgrading from 2.7 to 3.6  (Read 3486 times)

alexsan99

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
For some reason Sprites and Labels after migrating NGUI from 2.7 to 3.6 are not as sharp and clear as before? 
Tried many things, but quality is still not as good as I created with 2.7 (the same images and fonts)

This is what I tried (working with Unity 4.5.2 free version):
-imported into empty project NGUI 2.7 - looks perfect! sharp quality of sprites and labels.

-tried importing NGUI 3.6 in empty project - no matte what I do, all sprites and labels are slightly blurry,
the only thing that improves the situation was to scale down a bit every sprite and labels, but still
not pixel-perfect as it should be and as it was with 2.7; UIRoot has 'PixelPerfect' as scaling style

Wondering what am I missing?
Anyone knows what could be the problem and how to fix it? Would be really great, appreciate it!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Sprites and Labels are blurry after NGUI uppgrading from 2.7 to 3.6
« Reply #1 on: July 31, 2014, 12:29:34 PM »
What's your resolution visible in the Stats window? It needs to be dividable by two, on both X and Y. I also assume you've done the "select UIRoot and ALT+SHIFT+P" part?

alexsan99

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: Sprites and Labels are blurry after NGUI uppgrading from 2.7 to 3.6
« Reply #2 on: July 31, 2014, 01:10:40 PM »
I tried different resolutions, one I work with at the moment 960x640. And yes, I've done "ALT+SHIFT+P" part, but this operation makes sprites and labels look blurry. As I understand this sets all images to their default size and its not pixel-perfect for some reason (neither in editor or exported).

As I explained before, I'm using exactly the same images and it does look fine if I test with the same Editor resolution, but NGUI 2.7
This is very odd must say..

alexsan99

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: Sprites and Labels are blurry after NGUI uppgrading from 2.7 to 3.6
« Reply #3 on: July 31, 2014, 06:15:29 PM »
 Ok, I think I found the solution and solved my problem!  :D
Probably it's silly, but I forgot to use Anchor (legacy) in NGUI 3.6 since it creates only UI Root + Camera.
And now I can use Pixel-perfect, of course. Hope this helps to someone with similar issue.

Now everything looks crystal clear and sharp! Thanks again for this cool Asset.