Sprites looking pixelated

When i raise the orthographic size all of the edges on my sprites look pixelated.

Are there some settings i don’t know about to fix this?

I wanted to create zoom-out for my game so is this the way to go about it?

Or should i create a separate sprite for every “zoom level”?

Thanks.

if its set to point filtering, this is normal. Otherwise ensure that you disable mip maps, as that may be a cause as well. Just tinker with texture settings.

how pixelated ?
→ choose one →

It’s set to bilinear, i tried setting it to trilinear but the result is same.

And i tried but i couldn’t find the setting to turn off mip maps.

This is at orthographic size 5: http://i.gyazo.com/41afc590a07c18103adfc985d106d330.png
This is at orthographic size 25: http://i.gyazo.com/ac9fb222fbe9a8c2936241a44c6c9304.png

The edges look horrible.

you could use a blur effect
and set the blur level equal to the zoom level

I googled the blur effect and found out it’s unity pro only.

Since i just recently started using unity and will not be getting pro for some time, is it possible to achieve this effect in unity free?

It doesn’t have to be top-notch, just for the time being that i don’t have to look at those ugly edges.

http://forum.unity3d.com/threads/198568-Epic-Radial-Blur-Effect-for-Unity-Indie
that might help you

Thanks, i’ll try that.

That’s what mipmaps are. I’m 99% sure Hippocoder meant to check to make sure you didn’t disable mipmaps. This problem is exactly why mipmaps were invented (read the Wikipedia article about them). The option should be in the inspector, but if it’s not there switching your texture type to “advanced” should show everything.

Do not use those indie post-processing effects for any type of non-trivial game. They are ridiculously inefficient.

1 Like

Thanks, I looked for a solution because my bullet sprite looked pixelated. My sprite didn’t have “Generate Mip Maps” enabled and when i turned it on, it looked much cleaner with smooth edges. To turn it on, select your sprite asset > Advanced > check Generate Mip Maps.

Thanks smd863 and hippocoder

1 Like