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.
Three.jsキャンバスレンダラーを使用する場合、特定のオブジェクトを他の3Dオブジェクトの前にレンダリングする方法はありますか?では、シーン内のオブジェクトのレンダリングシーケンスを何らかの方法で変更できますか?
うーん、レンダラーの自動クリアを無効にして、2つのパスでレンダリングできます。
// on init renderer.autoClear = false; // on update renderer.clear(); renderer.render( scene1, camera ); renderer.render( scene2, camera );