Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
This question was closed Apr 27, 2019 at 03:02 PM by Firox_ for the following reason:

A compromise was found.

avatar image
1
Question by Firox_ · Mar 30, 2019 at 02:40 PM · spritegraphicsquality

Problem with sprite quality

I have a problem with my weapons sprites. They become very ugly on run when they are not vertical. Here's an example: alt text

This is the configuration of the original picture: alt text

I point out that there is no antialiasing and no anisotropic textures. Is there something to change in the settings or is the only solution to draw a bigger picture ?

capture.png (1.9 kB)
capture.png (32.1 kB)
Comment
Add comment · Show 2
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 Casiell · Mar 31, 2019 at 09:44 PM 0
Share

What does "very ugly" mean? Could you give us a screenshot on what's happening?

avatar image Firox_ Casiell · Apr 02, 2019 at 07:57 PM 0
Share

The first picture is an example of what I want to mean by ugly. Here the comparison between what I can see in the scene (upper part) and on run (lower part). alt text

capture.png (13.3 kB)

1 Reply

  • Sort: 
avatar image
1

Answer by Chris333 · Apr 05, 2019 at 10:55 AM

I had a similar error. My problem was that i added a picture with 512px but set the max size to 2048 or even higher. After setting max size to 512 these ugly effects disappeared.

So you should set maxSize as near as possible to the real size of your picture which you use as a sprite.


That could also help:
https://blogs.unity3d.com/2018/11/19/choosing-the-resolution-of-your-2d-art-assets/


Comment
Add comment · Show 5 · 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 Firox_ · Apr 05, 2019 at 09:11 PM 0
Share

Thank you for the response, but sadly it does not work in my case. The only way I found to fix a little bit the problem is to use the bilinear filter. But this filter makes the sprite blurry so I would find another way.

avatar image Chris333 · Apr 06, 2019 at 06:11 AM 0
Share

What size does your original image for the sprite have?

avatar image Firox_ Chris333 · Apr 06, 2019 at 12:07 PM 0
Share

These are 32x32 sprites. I tried with maxSize = 32 but there were no more picture. Then I found that the picture appeared with 512 or superior.

avatar image Chris333 · Apr 06, 2019 at 01:07 PM 0
Share

$$anonymous$$h you could check some resources from unity itself about such topics.

2D Pixel Perfect

Pixel Perfect 2D - Blogpost

2D Pixel Perfect Samples

avatar image Firox_ Chris333 · Apr 06, 2019 at 02:14 PM 0
Share

Thanks for the hyperlinks. I've already tried pixel perfect, but I don't achieve to make my sprite visual pretty. I don't have many time left so I think I will just use the bilinear filter for now.

Follow this Question

Answers Answers and Comments

147 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 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 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 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 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 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Poor quality sprite 2D game 3 Answers

How can I speed up my game? 2 Answers

How to improve 2D Sprite quality? 1 Answer

Bad sprite quality,Bad sprites quality in play mode 1 Answer

i have this script as option script but i cant see it 2 Answers


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