GLB模型中的混合模式具有部分几何形状[three.js] [aframe] [8thwall-xr]

问题描述

例如一个盒子应该是混合模式 但是当它在框架调试检查器中完美运行时, 但在8thwall WebAR摄像头中不起作用, 因为“相机”平面在一秒钟之内也可累加成白色。

这可以解决吗?

最终发现所有空白都是白色的,

我正在使用8thwall示例中的“修改材料”代码

<a-scene
    xrweb="disableWorldTracking: true"
    xrextras-almost-there
    xrextras-loading
    xrextras-runtime-error>

AFRAME.registerComponent('modify-materials',{
    init: function() {

...

if (node.name.indexOf('p_TBSPart') !== -1) {

node.material.transparent = true;
//node.material.depthWrite: false;
node.material.blending = THREE.AdditiveBlending;
console.log("blend:" + node.material.blending+";<br/>");
} else {
node.material.transparent = false;
node.material.blending = THREE.normalBlending;
console.log("b_:" + node.material.blending+";<br/>");
}

..

</a-scene>

谢谢

- TBSFred

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)