Author Topic: How to render UITexture as sharp as UISprite?  (Read 3577 times)

xiewenqi.cs@gmail.com

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
How to render UITexture as sharp as UISprite?
« on: February 18, 2013, 10:34:46 PM »
Hi, I've met a problem when dealing with UITexture, which I use to show some images downloaded from server runtime. I've changed image import settings in code so that their size keep in original scale, no mip-maps are generated and filter mode are Point. However, it turns out UITexture couldn't make a sharp render, which shows some blurry, more or less. But when I test those images with UISprite in UIAtlas, everything looks perfect, picture are not blurry at all. So, what should I do with this?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: How to render UITexture as sharp as UISprite?
« Reply #1 on: February 19, 2013, 03:01:44 AM »
Likely the settings of the texture are forcing power of two, compression, mipmapping or something similar. Look into those.