Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试渲染位于基本网格顶部的线。如果我只是从上面查看它,它工作正常,但如果场景以某种方式旋转,则无法渲染,如下图所示: Linkt to picture
有没有办法解决这个问题?
问候,丹尼斯
您可以分两次渲染它。
// on init renderer.autoClear = false; // on update renderer.clear(); renderer.render( sceneFloor, camera ); renderer.render( sceneLine, camera );