glsl
#version 450
layout(location = 1) in vec2 texcoord;
layout(location = 0) out vec4 out_color;
layout(binding = 0) uniform sampler2D texSampler;
void main(){
out_color = texture(texSampler, TexCoord);
magfilter:nearest
minfilter:nearest
mipmapmode:nearest
u:repeat
v:repeat
w:repeat
The image data is four pixel.
The coordinate is (0.25, 1).
I get the red color.
The distance of red and blue pixel to (0.25, 1.0) is equal.
So what is the algorithm of choosing texel when topo equals point?