Bilinear Filtering
Use the following equation to get texel color:
(1-a)(1-b)T00 + a(1- b) T10 + (1-a)b T01 + ab T11
a = fractional part of ( u - 0.5)
b = fractional part of (v - 0.5)
Define:
u0 = u - 0.5, v0 = v - 0.5
u1 = u0 + 1, v1 = v0 + 1
Then:
T00 = texel at (u0,v0)
T10 = texel at (u1,v0) , etc….
Previous slide
Next slide
Back to first slide
View graphic version