I have some weird results with trilinear filter (LINEAR_MIPMAP_LINEAR) using texture array.
Example : Texture pattern is 2x2 circle which is tiled on a quad. You can see some artefacts on tiled edge.
With bilinear (LINEAR) filter :
With trilinear (LINEAR_MIPMAP_LINEAR) filter :
Mipmap are generated with glComputeMipmap(). Mipmap value are right (I have checked their values with texelFetch).
WRAP_S and WRAP_T are set with CLAMP with “fract(texCoord)” in shader. I have done some test with CLAMP_TO_EDGE and CLAMP_TO_BORDER but results are the same.
I have no idea where I’ve done a mistake. Any ideas ?
Thanks in advance.
(Sorry for my bad english)