透明发光材质是通过自定义shader实现,线框的关键代码如下:
model.traverse(function(child) {
if (child.isMesh) {
child.material = customMaterial;
// 添加线框
var wireframeMaterial = new THREE.MeshBasicMaterial({color: 0x3366ff, wireframe: true, transparent: true});
var wireframe = new THREE.Mesh(child.geo
1