- Home /
Question by
Aram-Azhari · Jul 30, 2015 at 07:36 PM ·
texture2dwwwmipmaps
Disabling mipmaps for downloaded textures
I would like to fully disable mipmaps on an image that is downloaded using WWW class.
I see that my sprites only appear crisp when their texture is in advanced mode, but how to do that on runtime?
Thank you.
Comment
Best Answer
Answer by Aram-Azhari · Jul 30, 2015 at 08:02 PM
Ok, I figured it out. You can't really disable mipmapping after you create a texture. It needs to happen in the constructor of texture:
Texture2D test = new Texture2D(www.texture.width, www.texture.height, www.texture.format, false);
www.LoadImageIntoTexture(test);
Your answer