- Home /
How to create mipmap for textures loaded with www?
When I load a texture using the code below:
WWW www = new WWW(textureName);
yield return www;
renderer.material = new Material(Shader.Find("Diffuse"));
Texture tex = www.texture; tex.filterMode = FilterMode.Trilinear;
renderer.material.mainTexture =tex;
The texture does not come with mipmaps, how can I tell unity to generate the mipmaps?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613131317im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Flash error what do I do now? 0 Answers
how to make high quality textures with low size of downlaod 1 Answer
Loading a www texture makes my game freeze for a second 1 Answer
Android texture quality problem 0 Answers