What happens when I fetch (via texture()
) from the texCoord "0, 0"? I have 2 hypotheses.
- I fetch from the center of the top-leftmost texel
- I fetch half a texel to the left and top of the top-leftmost texel. The results depend on the wrapping mode.
Which one is true?
It's surprisingly hard to find info on that.
I found this answer from which I can deduce that "2." is true. But the answerer there gives no reference.