Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

FilterMode.Trilinear

Description

Trilinear filtering - texture samples are averaged and also blended between mipmap levels.

RenderTextures do not support mipmaps, so this setting reverts to Bilinear for those. See Also: Texture.filterMode, texture assets.

	renderer.material.mainTexture.filterMode = FilterMode.Trilinear;