Filtering a Texture with Four Nearby Samples
Bilinear texture filtering combines nearby samples according to the location inside their cell, under the texture's coordinate convention.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace halfway between samples
At the center of four linearly encoded values \(1,3,5,7\), the result is four. At a corner the exact selected sample is returned under this interpolation. See bilinear interpolation.
Check wrap and color handling
At a texture edge, the four referenced locations depend on the boundary mode. Mixing encoded colors may have separate constraints. See linear light.[1]