hello everyone, Transparent texture on a box | Babylon.js Playground (babylonjs.com)
PBRMaterial have the question too.
hello everyone, Transparent texture on a box | Babylon.js Playground (babylonjs.com)
I found the answer to the question.I need to change the material transparencyMode.
mat.transparencyMode = BABYLON.PBRMaterial.PBRMATERIAL_ALPHABLEND;
or
mat.transparencyMode = BABYLON.StandardMaterial.MATERIAL_ALPHABLEND;