ARCore纹理边框问题

时间:2019-03-18 23:29:38

标签: android textures augmented-reality arcore blending

启用混合自定义材质后,出现纹理边框问题。

enter image description here PNG图像是带有透明背景的蓝色箭头。我试图在图像中添加额外的间距,但是没有效果。

关键是当我使用混合时,它会产生如屏幕截图所示的伪像:

material {
    ...
    parameters : [
       shadingModel : unlit,
       blending : transparent,
    ]
    ...
}

如果我禁用如下所示的混合功能,边框将消失,但带有抗锯齿功能,箭头变为像素化:

blending : masked

感谢您的关注,我们将不胜感激!

0 个答案:

没有答案