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 crimsonnight · May 28, 2015 at 07:13 PM · 2dspritesizepixelated

Quality issues with 2D sprites...

Hi guys,

My team is building a 2D game using Unity's new UI and sprite system but we're experiencing some issues in regards to the quality of the graphics. Sprites are looking pixellated and there are problems with gradients/banding - I have attached examples. We have imported all sprites with the following settings: 8192 as a maximum size, true colour and generating mip maps enabled. The final issue is that even with these problems, and very little art actually implemented, the app's still coming out at over 115MBs!

Does anyone an idea of how to improve the quality of the sprites and also reduce the size of the app?

Thanks,

screenshot-2015-05-28-13-46-03.png (69.8 kB)
screenshot-2015-05-28-13-43-58.png (55.1 kB)
Comment
Add comment · Show 4
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 Alejandro Diaz · May 29, 2015 at 07:15 AM 0
Share

Disabling mip maps creates some white spots on the edges of the sprites and edges won't look good

avatar image hu90 · May 29, 2015 at 08:17 PM 0
Share

Never did it for me... Is there evidence that anyone else also experiences this ? Also, is this with the "Sprite/2D" texture type ?

avatar image Alejandro Diaz · May 29, 2015 at 08:42 PM 0
Share

yes it is a sprite/2D texture type and here are 2 images where mip maps are enabled and disabledalt text

mipmaps.png (378.7 kB)
nomipmaps.png (409.2 kB)
avatar image hu90 · May 31, 2015 at 10:49 PM 0
Share

Your textures may be too large. 8192 is way more than you need most of the time. I would also suggest making sure that graphics that have the same size in the game have not significantly different sizes on the textures.

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by hu90 · May 28, 2015 at 07:27 PM

You probably won't need mipmaps in a 2D application (unless you zoom/dezoom with a significant factor). Disabling them should solve your issue.

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
0

Answer by Nabeel Akhtar · May 30, 2015 at 11:22 AM

I have attached the png to show you how to increase sprite quality. Ajust the Max Size to get the best result.

According to size. You dont need to make big sprite to get good quality everytime. You should make sprite with max size of 1024 and ajust them here in Inspector.

While i dont understand why you project having so big size because i have used many sprites and i have never get to that size. I think you should make your spirte size small. And take a look on other assets like mp3 sounds and make sure you are not importing assets you dont need.

Hope this helps

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
0

Answer by babji3 · May 30, 2015 at 11:36 AM

Just untick the mipmap option..as above said.and dont use true color ,select which resolution ur sprite is with compression option.I think it helps u.

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
0

Answer by Alejandro Diaz · May 30, 2015 at 07:06 PM

If I uncheck mip maps it will look bad, look at the imagea attached, and if I use compress format I'll get some banding on sprites

Comment
Add comment · Show 1 · 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 babji3 · May 31, 2015 at 04:40 PM 0
Share

Reduce the $$anonymous$$ax Size of the sprit,like 1024 and use https://tinypng.com/

to reduce the png file size.

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

6 People are following this question.

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

Related Questions

How can I set the position and size of a sprite from inside a script ? 1 Answer

sprite vs texture 1 Answer

My sprite is abnormally smaller in the scene 2 Answers

Poor Sprite Quality 1 Answer

Keep sprites at fixed size 3 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