FilterMode
The method used to downsample (or upsample) a texture. "nearest" can be used for a pixelated effect, whereas "linear" leads to more smooth results. Nearest is slightly faster than linear.
Value | Description |
nearest | Fast nearest-neighbor sampling. Leads to a pixelated style. |
bilinear | Smooth pixel sampling. |
trilinear | Smooth pixel sampling, with smooth sampling across mipmap levels. |
See also
Texture:getFilter
Texture:setFilter
lovr.graphics.getDefaultFilter
lovr.graphics.setDefaultFilter
WrapMode
lovr.graphics