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 uni · Aug 11, 2010 at 02:22 PM · texturedistance2d-gameplaydetail

texture detail on planes or other meshes

I'm having a problem with textures on a plane in the distance. How do I keep the original detail even at a distance? For instance if I wanted to create a 2D (or 2.5D) game like GTA2 with small textures but with original pixel detail?

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 uni · Aug 11, 2010 at 02:32 PM 0
Share

Just figured it out. The plane I was using has only two triangles. I tried a Unity plane with several and the detail was as it should be. It's still not sharp like the original (anti-aliased). Any suggestions for that?

avatar image uni · Aug 11, 2010 at 02:45 PM 0
Share

Ooh! converted from non-power of two to nearest and it sharpened up like a Jamaican $$anonymous$$achete. Nice. I think I've got it.

1 Reply

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

Answer by Cyb3rManiak · Aug 11, 2010 at 02:33 PM

That blurring effect you're experiencing on far away textures is Mip Maps. It's basically a set of lower-res textures (in several sizes, all smaller than the original) created so that when an object is far away - it could be rendered faster using lower-res textures. The idea is that far away objects are so small there's no reason to display the full res texture.

It's pretty simple to get rid of - in the texture import settings - uncheck "Generate Mip Maps".

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 uni · Aug 11, 2010 at 02:49 PM 0
Share

Thank you. That certainly helps in my discovery. I'm new to Unity, so I've got a lot to learn.

avatar image Wolfram · Aug 11, 2010 at 03:01 PM 0
Share

If you disable the mipmap, you'll get point sampling artifacts ins$$anonymous$$d, which will probably result in flickering. Setting the texture scaling to "nearest" is part of the solution, since mipmaps can only be generated for power-of-two textures. You'll also need to set the filtering to "Trilinear" ins$$anonymous$$d of "Bilinear", otherwise there will be no interpolation between mipmap levels, and depending on your distance to the texture, Unity may suddenly switch from one mipmap level to another, without interpolation.

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

No one has followed this question yet.

Related Questions

Base map distance performance 0 Answers

How can i change the distance i see the texture? 1 Answer

How to use detailed texture? 2 Answers

Terrain texture with alpha? 1 Answer

Render 3D object to a 2D texture at runtime 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