Flip normals in three.js on sphere

前端 未结 4 1326
臣服心动
臣服心动 2021-01-05 16:02

I have been searching around and haven\'t found any really good answer to my question yet.. The thing is that I have this sphere.. just a basic sphere, and I want to flip th

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-05 16:32

    When you are creating material for your sphere, specify {side:THREE.DoubleSide}. This will make faces visible from both sides.

    You can also change it anytime after your material is created.

提交回复
热议问题