Three.js buffergeometry disappears after moving camera to close

后端 未结 3 518
攒了一身酷
攒了一身酷 2020-12-20 23:47

My buffergeometry disappears after moving the camera to close. You can also see that in drawcalls Three.js example that has TrackballControls. In my case it\'s

3条回答
  •  甜味超标
    2020-12-21 00:00

    Three.js thinks your object is outside the frustum. Add the line

    linesMesh.frustumCulled = false;
    

    and it should stop it from disappearing.

提交回复
热议问题