Does threejs support alpha channel in tga texture
Hi.
Three.js does support alpha channels in TGA (Targa) textures. When you load a TGA texture that includes an alpha channel, Three.js will handle the transparency correctly if it’s set up properly.
To ensure that the alpha channel is utilized, make sure to do the following:
Use the THREE.TextureLoader to load your TGA file.
Ensure that the material you assign the texture to supports transparency. For example, you can use THREE.MeshBasicMaterial with the transparent property set to true.
I hope this helps you a little.
1 Like