最終更新:2021-06-10 (木) 13:15:49 (1050d)  

BABYLON.StandardMaterial.opacityTexture
Top / BABYLON.StandardMaterial.opacityTexture

Define the transparency of the material from a texture.

https://doc.babylonjs.com/typedoc/classes/babylon.standardmaterial#opacitytexture

  • The final alpha value can be read either from the red channel (if texture.getAlphaFromRGB is false)
  • or from the luminance or the current texel (if texture.getAlphaFromRGB is true)