- Home /
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.
My question is how do I make a texture that isn't a power of two that doesn't have antialiasing?
Thanks.
Answer by Statement · Aug 09, 2011 at 11:15 PM
Set filter mode to point
Set wrap mode to clamp
Set texture type to advanced
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.
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.
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.
Answer by Eric5h5 · Aug 09, 2011 at 06:50 PM
Change the "Power of 2" option to None. (Using the Advanced texture type.)
Nope, didn't work it changed a little but it mostly looks the same.
EDIT Leaving it at "To Nearest" actually looks better.
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":
and this is "None":
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
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
THen don't let Unity resize it. Resize the asset to what it should be, outside of Unity.
Your answer
Follow this Question
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