BufferGeometry faces materials

一个人想着一个人 提交于 2019-12-01 10:09:47

问题


When using BufferGeometry, how can I assign a material to a face ?

Is there something like an array containing the same informations that Face#materialIndex ?


回答1:


BufferGeometry doesn't support MeshFaceMaterial.




回答2:


This answer is old. It is possible to add multiple materials to a buffer geometry see how do drawcalls work in three.js?



来源:https://stackoverflow.com/questions/15752173/buffergeometry-faces-materials

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