textureGather() behavior at texel center coordinates
问题 Suppose I have a 100x100 texture and I do the following: vec4 texelQuad = textureGather(sampler, vec2(50.5)/vec2(100.0)); The coordinate I am requesting is exactly at the center of texel (50, 50). So, will I get a quad of texels bounded by (49, 49) and (50, 50) or the one bounded by (50, 50) and (51, 51). The spec is evasive on the subject. It merely states the following: The rules for the LINEAR minification filter are applied to identify the four selected texels. The relevant section 8.14.2