Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by VinnieH01 · Jan 28, 2015 at 01:07 PM · spritepixel art

Pixel art sprites messed up, How do I fix it?

When I have a big sprite or Im zoomed in to it everyting works as expected.

alt text

But when Im zoomed out the pixels gets deformed as you can see on his left eye and on the grass tile.

alt text

Here is my import settings

Texture type = Sprite

Sprite move = single

Packing Tag = nothing

Pixels Per Unit = 32 (Same as my image)

Pivot = Center

Mip maps = no

Filter mode = point

Max size = 4096

Format = Truecolor

bug2.png (7.2 kB)
bug.png (5.8 kB)
Comment
Add comment · Show 12
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Imtiaj Ahmed · Jan 28, 2015 at 02:22 PM 0
Share

Try Filter mode = bilinear.

avatar image VinnieH01 · Jan 28, 2015 at 02:35 PM 0
Share

bilinear filter mode doesn't work with pixel art.

avatar image awplays49 · Jan 28, 2015 at 02:38 PM 0
Share

Compress your file. With your file expecting a 4096-size file, it tries to make it that size and when you zoom out, it looks choppy.

avatar image awplays49 · Jan 28, 2015 at 02:39 PM 0
Share

So if i didnt make that clear, change the size to like 128 or 256, even 64

avatar image smoggach · Jan 28, 2015 at 02:40 PM 0
Share

Yeah make sure the max size on your import settings isn't too large or too small. It looks to me like the image is getting scaled at some point.

It may also have to do with quality settings (Anti-aliasing)?

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by smoggach · Jan 28, 2015 at 03:39 PM

http://forum.unity3d.com/threads/pixel-perfect-2d-in-4-3.210497/

Maybe pixel snap will fix it. If not you'll probably find the solution by working with the camera like these folks.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Rexor1234 · Aug 30, 2018 at 10:53 AM

Three years later, still the same problem. A roundabout way to fix it is to use UI-images instead of sprites, and set the canvas to world space.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image eses · Aug 30, 2018 at 11:05 AM 0
Share

@Rexor1234 - Well what do you expect to happen when you "zoom" or move your camera away from pixel graphics?

Have you actually thought what happens?

When you represent low resolution graphics with high resolution display, you can of course get away with "zoo$$anonymous$$g", until the low resolution graphics details start to be equal to high resolution pixel grid.

When this OP example image character's eyes start to be between 1 and 2 pixels in high resolution pixel grid, you start to see characters eyes represented by either one or two pixels...

To properly zoom pixel graphics, you'd only want to zoom in multiples of pixel resolution, you wouldn't want to allow fractional zooms I guess.

BTW - your answer is not an answer - it should be a comment, like my comment...

avatar image Rexor1234 eses · Sep 11, 2018 at 11:37 AM 0
Share

@eses - Jeez dude, I just had a problem that looked just like the picture, and couldn't get any solutions I found on the forum to work. After fiddling a while, I found the one mentioned above, and now my games run perfectly. I believe it is an answer, even if there are better ways to do it, and you are being way to hostile to someone who just wants to help their fellow devs out. Take a chill pill

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

My player sprite Is coming out weird 0 Answers

Efficient sprite sheet animation with Editor preview 0 Answers

Problem with the borders of pixel art sprites 2 Answers

Can i Use Pixel Animations for My Top Down Shooter? 1 Answer

Unity unnecessary filtering my sprite 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges