我尝试加载 imageData 以在 threeJS 中创建纹理。我尝试这样,但它不起作用。
pMaterial =
new THREE.ParticleBasicMaterial({
color: 0xFFFFFF,
size: 20,
map: THREE.DataTexture(
myimageData
),
blending: THREE.AdditiveBlending,
transparent: true
});
谢谢你的帮助。