Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 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
2
Question by DreadSentry · Dec 29, 2016 at 06:49 AM · 2dspriteimporting assetsimport settings

Why can't I change anisotropic level in a 2D sprite's import settings?

As you can see in the attached image, the aniso level option in the import settings for a sprite I imported is greyed out. I believe this has something to do with a change in a recent Unity update, because I don't remember aniso level being there before, and all the other sprites which were there before I updated Unity all have it set at 16 (although they also have it greyed out). How could I "unlock" the option? I tried changing the anisotropic-related options in Quality Settings but nothing seems to work.

aniso-level.png (21.0 kB)
Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by sarahnorthway · Mar 30, 2021 at 05:14 PM

Aniso Level is greyed out on any type of texture that has Generate Mip Maps disabled.

Mip Maps are useful for improving visual quality and reducing GPU cache, even on unscaled camera-facing 2d sprites, if your game supports multiple screen resolutions. You usually won't need aniso on these (exception: stretched sprites eg 9-slice boxes).

Anisotropic Textures can be disabled or forced on globally via project quality settings. Both aniso level 1 (the default) and 0 mean "off" but aniso level 0 overrides the "Forced On" global setting and continues to stay "off". This can have a big effect on performance.

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 sarahnorthway · Mar 30, 2021 at 05:25 PM 0
Share

Also: aniso is a type of Filter Mode, after Point, Bilinear, Trilinear. Aniso is the best and most expensive of the 4 types. The algorithm takes extra samples from multiple mipmaps when the texture is squished or displayed at an oblique angle, and falls back to Trilinear when it is not.

avatar image
0

Answer by tanoshimi · Dec 29, 2016 at 08:23 AM

Why would you need anisotropic filtering on a sprite? That seems like an oxymoron to me.

  • Sprites, by definition, are 2d textures aligned to the camera view.

  • Anisotropy, by definition, relates to textures at an oblique angle to the camera view.

I can't think why they'd ever relate to each other.

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 DreadSentry · Dec 29, 2016 at 04:29 PM 0
Share

I mostly just wanted to know why the sprites that were there previously have a default level of 16 while the new one has a 1. I have not yet used a 3D view and wanted to solve this before it became a problem down the line if I ever decide to try 3D.

Also, I'm not sure if anisotropic level still affects performance even in 2D, which is why I wanted to change all the others to 0 just in case.

avatar image sarahnorthway · Mar 30, 2021 at 04:22 PM 0
Share

Aniso level IS used for sprites - specifically 9-sliced images. When the middle sections get stretched, disabling Anisotropic Textures in the quality settings change my 9-slice sprites from a crisp image to a very blurry one.

Sprites also don't need to be aligned to the Camera. There are times/uses where it would be at an oblique angle, eg in a curved or animated UI.

And yes, it affects performance even in 2D.

avatar image
0

Answer by travelsound84 · Sep 27, 2017 at 10:03 AM

I have the same problem, textures that I newly import look very pixeley and the only difference to my old textures is the Aniso Level, which I can't change as it is greyed out. My old textures have it set to 16, and they look great. I tried to lower the old textures Aniso level to 1, to find out if they would look pixely like the new sprite (from the newly imported texture), but everytime I press Apply, the Aniso Level on them gets changed back to 16. Any suggestions?

PS: Please answer the question, don't give smart-ass answers like tanoshimi here..

Comment
Add comment · Show 3 · 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 radekraichl · Sep 30, 2017 at 01:58 PM 1
Share

You must turn on "Generate $$anonymous$$ip $$anonymous$$ap"

avatar image travelsound84 · Oct 03, 2017 at 09:21 AM 0
Share

Thanks radekraichl! That worked! :)

avatar image havokentity · Nov 06, 2018 at 08:01 AM 1
Share

Just want to add that tanoshimi is still correct, but turning on mipmaps helps, and don't forget to enable anistropy in your quality settings as well. Anistropic filtering is disabled on 2D projects by default because anisotropic filtering can't add visual quality to 2D

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

9 People are following this question.

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

Related Questions

Save generated Texture2D as Texture type Sprite 1 Answer

Replace a sprite by another in every game object using it 1 Answer

Sprite Extrude Edges does nothing. 1 Answer

Animator - Stoping && Playing from Specific frames. 5 Answers

Changing "Sprite Mode" from Single to Multiple breaks reference to sprite sheet. 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