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 /
avatar image
0
Question by MrSplosion · Aug 09, 2011 at 05:52 PM · 2dtexturespriteantialias

Unity Adds Antialiasing to Texture

I have a texture that is 13x25 it's not a power of two and I read somewhere that if I use RGBA 16 or 32 Bit for the texture format that shouldn't matter and it wont compress it, making it have no antialiasing. It does gives it antialiasing though and I don't know why. Here are the pictures, one is a power of two and the other isnt.

alt text

My question is how do I make a texture that isn't a power of two that doesn't have antialiasing?

Thanks.

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

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Statement · Aug 09, 2011 at 11:15 PM

  1. Set filter mode to point

  2. Set wrap mode to clamp

  3. Set texture type to advanced

  4. Uncheck generate mipmaps

If you want perfect colors then change the texture format to something suitable, like ARGB 32 (alpha) or RGB 24 (no alpha), but if it looks ok with other compressions you should probably use them instead.

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 MrSplosion · Aug 10, 2011 at 12:01 AM 0
Share

No, it's still not working. Does it matter that I'm applying it to a cube scaled on the y axis by 2? This is just for testing purposes I know its not the way to do it.

avatar image MrSplosion · Aug 10, 2011 at 02:12 AM 0
Share

Can you right click and hit save as with this texture and do what you said and let me know if it's even possible and post a pic for me? I swear I've done it at least 5 times, and every time it's still blurry looking.

http://i.imgur.com/H6Hdx.png

avatar image
0

Answer by Eric5h5 · Aug 09, 2011 at 06:50 PM

Change the "Power of 2" option to None. (Using the Advanced texture type.)

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 MrSplosion · Aug 09, 2011 at 06:57 PM 0
Share

Nope, didn't work it changed a little but it mostly looks the same.

EDIT Leaving it at "To Nearest" actually looks better.

avatar image Eric5h5 · Aug 09, 2011 at 07:49 PM 0
Share

Yes, it does work; if you set it to "None", then it uses the original texture and doesn't resize it. Remember to click "Apply" after choosing "None". "To Nearest" resizes the texture. This is "ToNearest":

sprite1

and this is "None":

sprite2

avatar image MrSplosion · Aug 09, 2011 at 09:35 PM 0
Share

That's really strange because it's not working for me. What do you have that I don't? http://imgur.com/a/3N9N1

This is the outcome from all of that. http://i.imgur.com/DjdXJ.png

avatar image JonPQ · May 03, 2017 at 07:58 PM 0
Share

I have the same issue, the problem is with the resizing... if the texture is on size and UNity needs to resize it, or if its 512, and you set max size to be 256, then unity re-sizing it and applies anti-aliasing after the resize. I need to disable this also... but can't Setting advanced settings, or point sampling has no effect, as these are rendering settings not scaling settings

avatar image LilGames JonPQ · Oct 26, 2017 at 02:44 PM 0
Share

THen don't let Unity resize it. Resize the asset to what it should be, outside of Unity.

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

Overlay texture on sprite 0 Answers

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

2D optimisation - mobile devices 0 Answers

Unity 2D sprite mask? 1 Answer

Texture type -> Advanced -> Mesh type: how it works? 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