Trilinear filtering

from Wikipedia, the free encyclopedia

Trilinear filtering or trilinear interpolation is an isotropic interpolation method that is used as a texture filter when rendering 3D computer graphics . Trilinear filtering is an extension of bilinear filtering with the aim of suppressing the effect of MIP banding . It therefore only makes sense to use them in conjunction with MIP mapping .

MIP banding is a discontinuity that occurs in bilinear filtered textures at the transition between two MIP levels ( level of detail ). It is clearly recognizable as a line on which the sharpness of the texture changes abruptly.

In order to avoid this effect, with trilinear filtering, two texture values ​​that result from the interpolation of the neighboring MIP levels are always calculated and then linearly interpolated. The three-stage linear interpolation required for this gives the trilinear interpolation its name.