- Home /
Question by
Snppls · Nov 03, 2012 at 10:05 PM ·
guidrawtexture
GUI.DrawTexture disable anti alias
Hello,
I'm trying to make a Unity Editor extension for doing some editing for a low res 2D game. When I draw a texture, anti aliasing is applied by default when upscaled. Is there any way to turn this off since my textures have to remain pixelated?
Thanks in advance.
Comment
Best Answer
Answer by Jessespike · Nov 03, 2012 at 10:29 PM
I think you're confused. Anti-aliasing isn't what you described. What you want is Filter Mode. Click on the texture and change the Filter Mode to Point
Ah I see. I had tried setting that in code already but that didn't change anything. Changing the texture type to GUI and filter mode to point in the inspector import settings did the trick. Thank you.
Your answer
![](https://koobas.hobune.stream/wayback/20220613083306im_/https://answers.unity.com/themes/thub/images/avi.jpg)