- Home /
Texture atlas - little glow of nearby textures seen from distance
I want to use texture atlas. So:
1. What setting should I use for texture and material in Unity to make them sharp and avoid using scrap of other texture in texture atlas?
2. And I have this problem that from some distance and under particular angles I see little 'glow' that comes from nearby textures in texture atlas.
Hope it's understood :)
Edit: Even if I take middle square from part of texture atlas, even if it's really small, this problem is still here :/
Solution: set texture settings like this (Generate Mip Maps off)
Answer by Jessy · Jun 25, 2013 at 07:17 PM
Mipmaps cause this problem. Your solution should be a combination of putting more space in your atlas, and adjusting mipmap bias.
http://docs.unity3d.com/Documentation/ScriptReference/Texture-mipMapBias.html
Thank you! Worked. I added to my post some kind of instruction what I did. I hope maybe it will help someday someone :)
That's not what I said to do, but it's related. Your simpler method is more performance-intensive and will cause artifacts for high-frequency/high-contrast images.