Android filament 加载 .glb模型设置透明背景
1.重写UIHelper
isOpaque = false;
2.
fun makeItTransparent() { val options = renderer.clearOptions options.clear = true renderer.clearOptions = options }
3.
modelViewer.view.blendMode = com.google.android.filament.View.BlendMode.TRANSLUCENT modelViewer.scene.skybox = null