Jump to content

mesh is transparent from the other side


Bladetrick
 Share

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.

Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...