Sign in to follow this  
Bladetrick

mesh is transparent from the other side

Recommended Posts

I have this mesh loaded up.  When I point the camera at it, this is what it looks like from under.

image.png.ce0288f195dcc647d909674bf7599c14.png

However, when I rotate the camera around it, the mesh appears to become transparent.  I don't see the outside. Just a view to the inside.  Here's the view from above and turned a bit.

image.png.8be5a86eae7c813d2a629855d71088c8.png

I feel like I missed something easy somewhere.  Anyone have any thoughts?  Is this the way it was exported from the modeler or is there something I need to set in Babylon to see the outside.

Thank you.

Share this post


Link to post
Share on other sites

each face has a normal.
https://doc.babylonjs.com/resources/normals

backface culling:
https://doc.babylonjs.com/babylon101/materials#back-face-culling

Looks like your normals may be backwards or shared.  If you want them visible from both sides you need to disable backFaceCulling.  If you share your model then likely we can figure it out.

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.