Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 ANGRYSH4RK · May 10, 2014 at 07:27 PM · spritetexture2dqualitypixelated

[SOLVED] Pixelated edges on sprite?

Mr.Hal was right, after using the suggested import settings Eric5h5 shared and testing on a retina device, I confirm that the problem is with the Unity preview window and I can't base the final result quality off of it.

Hi there,

The following is a triangle sprite exported from vector creation software, when exported the edges are smooth. When I import the sprite into unity for use, the edges are pixelated.

I would like smooth crisp edges.

Sprite texture size before placing in unity is a png 960x960.

alt text

I have tried smaller and larger sizes, all are pixelated when imported into unity as a sprite.

How can I fix this?

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 xortrox · May 10, 2014 at 11:00 PM 0
Share

Can I see your texture import settings?

avatar image ANGRYSH4RK · May 10, 2014 at 11:38 PM 0
Share

16-bit, NPOT, trilinear like Eric5h5 suggested, still the same result as above :( Looks fine in editor window, but not in game window.

avatar image Eric5h5 · May 12, 2014 at 01:19 AM 0
Share

Here's an in-game pic:

arrow2

The only way I know of that it would look like your Unity pic is if you set the filter mode to point, which I've done here:

arrow3

avatar image Ignacii · Sep 12, 2020 at 04:20 PM 0
Share

Large sprite, when scaled down, loses quality. The problem is there in build too on Windows. looks like sprites' resolution have to be modified for them to look good on different resolutions.

2 Replies

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

Answer by Mr.Hal · May 10, 2014 at 08:38 PM

Try making a mesh for this, Shouldn't be hard to make in a program like Blender or 3DS max. To get those crisper edges you would still need antialiasing but at least it would be much more smoother. Also check to see if anybody made a plug-in for this "Vector creation" app or script somewhere that will convert vector art to a obj file or something.

Comment
Add comment · Show 7 · 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 ANGRYSH4RK · May 10, 2014 at 09:00 PM 0
Share

I don't have blender or 3DS, not sure its worth downloading either just to get crisp edges on a 2D sprite. Was hoping there are other ways :( no luck finding a plugin or program to convert either...

avatar image Mr.Hal · May 10, 2014 at 09:04 PM 0
Share

I did research and blender can import svg files and export them as obj's.

avatar image Mr.Hal · May 10, 2014 at 09:06 PM 0
Share

https://www.youtube.com/watch?v=h78qN3QcF7o

avatar image ANGRYSH4RK · May 10, 2014 at 09:15 PM 0
Share

Alright i'll try it, downloading blender.

avatar image ANGRYSH4RK · May 10, 2014 at 09:41 PM 0
Share

Okay, followed the instructions, exported as both .fbx and as .obj.

Still this is the result:

alt textalt text

:( still pixelated, thats with anti aliasing. I desperately wan't crisp 2D graphics.

Also, I have tested on 2 iOS devices and still see obvious pixelated edges which is not acceptable on a retina device. $$anonymous$$aybe as 3D but not a 2D game.

Show more comments
avatar image
0

Answer by Eric5h5 · May 10, 2014 at 07:31 PM

Anti-aliasing will do nothing since that only affects polygon edges. You should use a higher resolution for the sprite texture.

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 ANGRYSH4RK · May 10, 2014 at 07:35 PM 0
Share

The size of the sprite texture is 960x960 and I am scaling it down in the editor.

avatar image Eric5h5 · May 10, 2014 at 10:48 PM 0
Share

It took your arrow from a screen grab and put it in Unity:

arrow

Settings are 16-bit, NPOT, trilinear filtering.

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

25 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

Related Questions

Poor Sprite Quality 1 Answer

Sprite quality reduces after scaling down 1 Answer

why is my sprite pixeleted in game scene? 0 Answers

Poor Untiy 2D Sprite Quality/Crispness 1 Answer

Quality of Texture2D.LoadImage() is different from preloaded sprite asset 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