是否可以在threejs中将多个svg纹理叠加到一个精灵上?
这是我的代码
var materials = [];
var texture = map.load("../images/Defects_Icons/Placeholder.svg", function (texture) {
materials.push(new THREE.SpriteMaterial({ map: texture, color: 16777215, fog: true }));
var secondTextire = map.load("../images/Defects_Icons/Placeholder1.svg", function (texture) {
materials.push(new THREE.SpriteMaterial({ map: texture, color: 16777215, fog: true }));
var img = new THREE.Sprite(materials);
scene.add(img)
})
});