Mipmap Filter Component
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
Property | Type | Range | Default | Description |
---|---|---|---|---|
Generate Mip Map | Bool | True | Whether to generate mipmap levels or not. | |
Mip Map Bias | Float | [-12..12] | 1.0 | Negative 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 Level | Int | [0..16] | 4 | Improves 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.