Texture.anisoLevel Manual     Reference     Scripting  
Scripting > Runtime Classes > Texture
Texture.anisoLevel

var anisoLevel : int

Description

Anisotropic filtering level of the texture.

Anisotropic filtering makes textures look better when viewed at a shallow angle, but comes at a performance cost in the graphics hardware. Usually you use it on floor, ground or road textures to make them look better. See Also: texture assets.

renderer.material.mainTexture.anisoLevel = 2;