Flickering planes

前端 未结 2 1370
一个人的身影
一个人的身影 2020-12-18 22:11

I have an application with large 2D planes with textures, but I am experience some flickering problems.

It is possible to see the flickering problem here (planes ar

相关标签:
2条回答
  • 2020-12-18 22:53

    Try out this code to see if it works:

    cubeMesh.position.set(0, 0, 1);
    
    0 讨论(0)
  • 2020-12-18 23:14

    What you're seeing is the GPU running out of precision because the ranges you're using are too big. By setting the near plane of the camera to 100 (instead of 1) the flickering is gone.

    http://jsfiddle.net/GYQ5v/74/

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