Skip to main content

Mipmap Filter Component

Component Screenshot

Overview

This component applies a filter to the Unity UI component that allows it to be rendered with mipmap and anisotropic filtering, resulting in better quality visuals due to less aliasing. This is especially useful when using UI in world-space rendering where UI elements can be displayed scaled down. This is very useful in VR where preventing flickering/aliasing is especially important.

Properties

Component Screenshot

Property                            Type    Range    DefaultDescription
Generate Mip MapBoolTrueWhether to generate mipmap levels or not.
    Mip Map BiasFloat[-12..12]1.0Negative bias will sharpen the texture by selecting lower mip levels. Positive bias will blur the texture by selecting higher mip levels. Generally if is bias is needed it is only in the -1..1 range and will depend on the content.
Aniso LevelInt[0..16]4Improves image quality when texture is displayed at a steep angle/slope. See Texture.anisoLevel.

Usage

Add this component to any GameObject that contains a UI Graphic component (eg Text, Image, RawImage, etc).

ORDER

In order to work correctly, this component must be placed as the last filter component on the GameObject.

Usage with TextMeshPro

Currently not supported.