OpenGL ES 2.0 texture distortion on large geometry GL_REPEAT

前端 未结 1 1788
悲&欢浪女
悲&欢浪女 2020-12-16 04:14

OpenGL ES 2.0 has serious precision issues with texture sampling - I\'ve seen topics with a similar problem, but I haven\'t seen a real solution to this \"distorted Open

相关标签:
1条回答
  • 2020-12-16 05:12

    This is the usual texture atlas problem. There is no setting to limit the linear interpolation in mid-texture. That's how the hardware works.

    You can work around the issue by using nearest filter texture lookup in a fragment program which calculates the texture lookup modulo your texture tile size and position and does its linear filtering manually.

    0 讨论(0)
提交回复
热议问题