Texture filtering decides the visual result in cases when atexel (a pixel in a texture) is not perfectly aligned with a screen pixel. This happens when you move a graphical element that contains the texture less than a pixel. The following filter methods are available:
The setting for which filtering to use is stored in theProject Settings file. There are two settings:
Both settings accept the valueslinear
,nearest
,nearest_mipmap_nearest
,nearest_mipmap_linear
,linear_mipmap_nearest
orlinear_mipmap_linear
. For example:
[graphics]default_texture_min_filter=nearestdefault_texture_mag_filter=nearest
If you don’t specify anything, both are set tolinear
by default.
Note that the setting ingame.project is used by in the default samplers. If you specify samplers in a custom material, you can set the filter method on each sampler specifically. See theMaterials manual for details.
Did you spot an error or do you have a suggestion? Please let us know on GitHub!
GITHUB