• 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
1
Question by Arjun · Jul 15, 2010 at 01:15 PM · mip

What is mip in SetPixel ?

Hi, I am a beginner to unity3d. While searching for documentation on Setpixels, I came accrosed mip level. Could anyone please what is mip and whats mip level ??

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
5
Best Answer

Answer by equalsequals · Jul 15, 2010 at 01:27 PM

Mip is a simulated Level of Detail of a texture. If you look at a texture in the Inspector you can see in it's preview level a little checkered box and a slider. You can see the various Mip levels (if they are being generated).

This is a performance optimization because at a medium distance from an object it isn't necessary to draw a 1024x1024 texture because the user won't be able to see the fine detail anyway so it mips to 512 or 256, etc. This works best with Power-of-Two textures like 1024x1024.

Note that mips also add an additional 33% to the memory taken up by any given texture because of the extra LOD's that are generated.

Hope that helps.

==

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 Arjun · Jul 15, 2010 at 02:16 PM 0
Share

thank you very much

avatar image Eric5h5 · Jul 15, 2010 at 02:40 PM 0
Share

$$anonymous$$ipmaps don't triple the memory; they add 33%.

avatar image equalsequals · Jul 15, 2010 at 02:41 PM 0
Share

You know what, you're right. $$anonymous$$y mistake - I'll correct that.

avatar image
2
Best Answer

Answer by Mike 3 · Jul 15, 2010 at 01:35 PM

Mipmaps are precalculated smaller versions of the original image (See http://en.wikipedia.org/wiki/Mipmap for more information)

They generally help make graphical processing a little faster, and can help with making textures look better at far distance or large angles from the view distance, though can degrade the quality at close up if you're not careful

Textures contain all the different levels of mipmaps, with 0 being the original texture, 1 being the next power of two texture below it, and so on

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

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

WebCamTexture.GetPixels documentation mentions miplevel, but does not take miplevel as a parameter 0 Answers

How do I turn off "mip mapping" 1 Answer

mip maps for iphone 1 Answer

can't change mip map bias for android 1 Answer

What is Mip Maps (Pictures) 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