- Home /
How to fix overly blurred texture / image in unity?
Hi, so, I'm not sure what caused this, let image below do the explanation :
How to fix the overly blurred texture in unity? It's so frustrating, since I can't get it right, because when I tried it in LibGDX, the image looks good (Well, it's not exactly a same image, but similar).
They both screenshot from android device (Samsung Galaxy Note 3 Neo)
Thanks
P.S. It's a pixel art
Answer by ImmortalHydra · Sep 24, 2015 at 05:22 PM
Something similar happened to me a few times, it may be that you have the wrong import settings for pixel art.
Click on the image, and then check the inspector: is "Filter Mode" set to Bilinear or Trilinear?
If so, set it to Point and apply, that should fix it!
I need it to be sprite. To keep it transparent and to be able to slice it.
Filter mode is also in Sprite, I fixed the image so that it reflects that
Answer by Jessespike · Sep 24, 2015 at 04:29 PM
Is the texture quality set to full res in the quality settings? (Edit -> Project Settings -> Quality).
Click on the texture in the project to bring up the Import Settings in the Inspector. Set the Texture Type to Advanced. $$anonymous$$ake sure: Non Power of 2 is None, Generate $$anonymous$$ip $$anonymous$$aps is disabled, and $$anonymous$$ax Size is equal to or greater than your texture.
Answer by HesapAdam · Feb 16, 2017 at 10:09 AM
I had the same problem. I am using Unity 5.5.0f3. I prepared an image 256x256px and when I import to Unity I chose the setting that ı show below. It is okay now. I spent a lot of time to find out this so I am very happy now. I hope this help someone
You should set that to 256 if you want to maintain your sprite quality. And set filter mode to Point.
This might be an old post, but thank you Hesap$$anonymous$$for your input. Apperently these settings needed to be changed for me to get the right settings for me. As Tanoshimi said, you shouldn't have to put any of these settings to point or 256. Every image has it's own needs. They build these settings for a reason. So thanks again for helping me out :)
Answer by drepich · Jan 23, 2017 at 11:32 AM
On the raw image import settings, change Compression = None.
Answer by moseskarunia · Sep 28, 2015 at 06:30 AM
This is weird tho. The unity remote view is blurred, while the built version is not. I think it's because the unity editor resolution is somehow forced to fit the window size (even though I've defined 1280x720 manually, but still forced down to around 400ish pixel), because, when I build the apk version and installed it on my device, the picture no longer blurred. Not sure why. (I tried with a new clean project btw.). But I think the problem is not on the camera ortho size. @ImmortalHydra @Jessespike