Sign in to follow this  
galethegreat

BabylonJS How to make an imported mesh to be transperent?

Recommended Posts

Hi there,

I am a total noob when it comes to Babylon but I am trying my best here :D.

I cannot find an example of how to make an imported mesh (using BABYLON.SceneLoader.ImportMesh )transparent. 

I have played around with couple of examples with spheres and changing their alpha and sphere that have a texture assigned to them and then changing it to be transparent, but how does one do this when the file that you are loading using the importMesh is a Babylon file with all the textures, when I use mesh.material.alpha = 0.5, it makes the material transparent but  the texture just goes white, I cannot see through it to the mesh behind it.

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.