- Home /
Orthello 2D: Pixel-Art without any blur
I would like to create a game with some pixel-art, but when I try to import a sprite and then give it a texture, the sprite has some kind of blur. How can I change it, so that I can see sharp pixels with sharp edges?
Thanks!
Answer by Wolfram · Feb 02, 2013 at 08:31 PM
As you are interested in pixel art, go to the import settings of your textures and change the "Filter Mode" to "Point". This will stop Unity from interpolating between pixels.
Also make sure your original textures have a power-of-two resolution (e.g., 32x32, 256x128, or similar), because otherwise Unity will resample your texture, making it blurry/washed out. Yes, this also is true if you were to explicitly disable "Non-Power of Two" scaling in the importer (unless you exclusively use your textures in Unity GUI or in GUITextures).
Answer by DryTear · Feb 02, 2013 at 08:09 PM
Using Microsoft Picture Manager or Photoshop - Enlarge the texture from original size to 512
That is a possible workaround, but has the major drawback of a possibly huge memory overhead. For example, if his original art were 32x32, a single 512x512 texture would use 256x the amount of memory. For 500 sprites (which is probably not an unrealistic estimate, considering different rotations/view, poses, animations, characters, ...) this would mean wasting 700$$anonymous$$B(!) of (uncompressed) texture memory.
The advantage is that you can avoid aliasing artifacts with this approach, as opposed to $$anonymous$$e. However, this is only relevant if you "zoom out" of your sprites, i.e. displaying them smaller than their original pixel size - which is usually not relevant/intended for 2D pixel art.
brilliant approach, how would you avoid zoo$$anonymous$$g in and out aliasing with keeping the sprites smaller
Answer by Lordinarius · Feb 02, 2013 at 07:56 PM
Be sure
Texture quality at full res and Anisotropic Textures at Forced on, from quality setings
And if your texture has big resolution. Select override for your platform and rise the max size from import settings
Answer by GilesDMiddleton · Apr 22, 2017 at 03:37 PM
See this unity blog post for how to achieve pixel perfect 2d. It's unfortunately not just a 'win button'.
Your answer
Follow this Question
Related Questions
2D Animation does not start 1 Answer
(Solved) Cannot play animation in Orthello outside start() 1 Answer
Why do my sprites/textures darken whenever I move my camera? 0 Answers
Blur on first plane 0 Answers
2D Pixel Art in Unity - Best Solutions? 2 Answers