禁用导入的 .obj 文件 Three.js 的背面剔除

imp*_*ult 4 javascript wireframe .obj three.js

我在关闭汽车后部的线框渲染时遇到困难。

你如何在three.js 的线框模式下关闭背面剔除?

http://i.imgur.com/wLOaTYX.jpg

小智 5

{side: THREE.DoubleSide}
Run Code Online (Sandbox Code Playgroud)

在定义您的材料时,如three.js材料文档中所见。