【问题标题】:Three.js PlaneGeometry is giving me on sided textureThree.js PlaneGeometry 给我侧面的纹理
【发布时间】:2012-07-24 13:20:43
【问题描述】:
如fiddle 所示,当旋转时,精灵会在某些角度消失,并且只渲染一侧。怎么会?渲染双方的解决方案是什么?我必须操纵角度吗?
谢谢
【问题讨论】:
标签:
sprite
webgl
three.js
【解决方案1】:
默认情况下,面是单面的。
要渲染两边,设置mesh.material.side = THREE.DoubleSide;
three.js r.58