2D Toolkit Forum
2D Toolkit => Support => Topic started by: steverock on June 02, 2013, 11:26:55 pm
-
I've noticed that sometimes when I do a web-build, my sprites will end up looking compressed. I tracked the issue down to mip maps. I guess for web builds, Unity will use mip maps more aggressively, so if I have some objects that are far away in Z (even though my cam is ortho), it will use lower-res mip levels. The solution is simple: go into the tk2D atlas texture settings, switch the Texture Type to Advanced, then uncheck "Generate Mip Maps". I was wondering: Could this be unchecked by default? I imagine if you want pixel-perfect sprites, you will never want mip mapping. And, it's nice to use whatever Z values you want to depth-order things. Thoughts?
-
Not sure what version of 2D Toolkit you're running but mipmaps have been disabled in the past few versions of tk2d. Mipmaps are useful when you need to scale your sprites a lot. You can also disable mipmaps in the sprite collection settings page, instead of having to change the settings on the atlas textures.
Also, make sure this is disabled:
http://unikronsoftware.com/2dtoolkit/forum/index.php/topic,612.0.html
-
Ah I just updated, and I see the "mip maps" checkbox now. Sweet!