- Home /
PNG displays pixelated image.
Hello all,
I'm having an issue with an image I'm testing. It looks fine by itself but shows up on my iPhone very pixelated.
What am I missing here? I want the image to be as crisp as it appears in the stand alone image.
Any help is appreciated!
I've tried all filter modes, turned mip maps on and off, I've tried different "Max Sizes" and formats. Nothing seems to work.
I've also changed the compression from JPEG to PNG which which made the image a little more legible but I still get the pixelated image.
What the original image looks like:
What it looks like on my iPhone (w/ background from the camera):
Hi,Select the imported image,change the texture format to TrueColor (Juse below $$anonymous$$ax Size) in the Texture import settings.That should do.
Crap, so this is only a temporary fix for me. Once I build the project out the quality becomes poor again.
Answer by g_mister · May 15, 2015 at 07:03 AM
Figured out what my issue was!
For anyone else that runs into something similar:
Turn off "Compress Assets on Import" in Unity's Main Preferences and reimport your image/sprite. (The above ^^^ was the main cause of my problem.)
Set your Texture Type to 2D or Advanced. No MipMaps Filter Mode to Point Format RGBA 32 under True Color
AAAAAaaawesome! Fixed $$anonymous$$e as well. When i first read this, i thought i had to reimport everything and i freaked out. Turns out all i had to do was:
Switch each sprite from 'Sprite (2D and UI)' to 'Default' (or anything else), apply. Then, switch it back, apply.
Just remember to switch to multiple if it was, Unity's Sprite Editor remembers the slices, so you are good to go!
Answer by moghes · May 07, 2015 at 03:08 PM
When you import you image, click on the image and check the inspector for the import settings.
First Note: It doesn't matter if its JPEG or PNG since the engine already will perform a compression of its own independent of the image type, so don't bother about those.
In the import settings set the format to true color , uncheck the generate mipmap checkbox (in case the image type is Texture)
Answer by SteamCyborg · Feb 20, 2020 at 08:42 PM
Generating Mip Maps actually fixed the problem for me, for some reason.
Answer by Waelwindows · May 07, 2015 at 02:38 PM
Change the Texture type to GUI, or for some reason you need it to be the normal type just remove Mip-mapping using the debug menu ( click the gear and press debug )
Answer by $$anonymous$$ · Mar 12, 2017 at 06:14 PM
Scale the PNG to 1920 x 1080 using the nearest neighbor option.
Also try changing the pixles to unit option in the sprite options menu from 100 to 96
Your answer
Follow this Question
Related Questions
blurry PNG assets in unity, 2 Answers
sprites look really bad in unity 1 Answer
textures smaller than 64x64 0 Answers
Blurry text with TextMeshPro 1 Answer
PNG graphics for a 2D game 1 Answer