THREE.JS: Seeing geometry when inside mesh

空扰寡人 提交于 2019-12-01 15:01:42

问题


When entering the geometry, for example a sphere mesh, it acts as if the geometry doesn't exist. The color and texture are visible on the outside. But once I zoom into the mesh, the properties are gone.

How can I make the color and texture of a sphere mesh be visible inside the mesh?


回答1:


mesh.material.side = THREE.DoubleSide;

Or

mesh.material.side = THREE.BackSide;

three.js r.62



来源:https://stackoverflow.com/questions/19825061/three-js-seeing-geometry-when-inside-mesh

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!