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;
The texture does not come with mipmaps, how can I tell unity to generate the mipmaps?
May 04 '11 at 12:28 AM
May 04 '11 at 05:43 AM
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: May 04 '11 at 12:28 AM
Seen: 1597 times
Last Updated: May 04 '11 at 12:28 AM
Flash error what do I do now?
How can I load pre-compressed textures at run-time (without using assetBundles)
Best way to animate 2d Textures and Import them?
Memory problem with WWW and Texture
How does Unity deal with uploading textures to vram and related questions.
3D Plane with Texture problems in Unity...
Getting a youtube vid , applying it as a texture to a gameobject and playing it with sound
Texture mapping for performance
blender texture not showing
refresh a cached texture?