Integer Texture don't work well

You should use NEAREST for the sampling mode as there’s no mipmaps and a single pixel in the texture:

Though I don’t know why it doesn’t work as you are using texelFetch in the shader which should not depend on the sampler filtering…

2 Likes