我想在二十面体几何的每个面上写文字
我能够生成纹理并将纹理应用于所有面:
for ( var i = 0; i < geometry.faces.length; i ++ ) {
geometry.faces[i].materialIndex = i;
materials.push( new THREE.MeshBasicMaterial( { overdraw: true, map: getTexture(i), wireframe: true, wireframeLinewidth: 1} ) );
}
// 3D element
element = new THREE.Mesh( geometry, new THREE.MeshFaceMaterial(materials) );
然而,每个纹理都覆盖了另一个......而且我无法正确对齐它们
任何想法 ?