Blurry UI - new to Unity

Hi,

I am working on my first iPhone app and am new to Unity, but I am experiencing all GUI elements are very blurry.

Any ideas on how to get the GUI images to appear as crisp as the source image so all of my menus screens and icons aren’t blurred.

Do unity GUItextures need to be in powers of 2? or can I keep the images the true sizing…it appears in the editor that the blurryness is caused because the images that should be 480 x 320 are 512 x 512…will this cause any problem to revert to the 480x320 versions of the images?

Thanks,

Doug
dgainous@achooey.com

The GUI items do not need to powers of 2. Best thing I can think of is the padding and margins in the GUI Skin you are using. Which cause the image to shrink down a bit and start cramming pixels together causing the images to look slightly blurry.

Try using what Nicholas suggested and set the GUIStyle to None.

GUI.Button (Rect (100,100,100,100), texture, GUIStyle.none);

Also make sure your import settings for the textures are set to uncompressed, that might help.

Thanks,

I will give these a try and see if it helps. I think the main issue was that the images were powers 2 two, so the images that were originally created at 320x480 were resized to 512x512 and then change back to 320x480 in unity.

I will also check the import settings. I greatly appreciate the advice.

Thanks,

Doug

The way I understand it (it’s been a while since this has come up) when Unity imports a non-power of 2 texture it automatically converts it to a power of 2 internally. That was true for standard textures and before the advent of UnityGUI. Things might have changed since then.

Heya, I’m not sure if any of you figured out a solution to this as I am having the same problem. I have tried all of your suggestions and have not found a solution, I was hoping that someone solved this xD and forgot to paste the answer here.

Thanks in advance