Bladetrick Posted July 10, 2018 Share Posted July 10, 2018 I have this mesh loaded up. When I point the camera at it, this is what it looks like from under. 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. 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. Quote Link to comment Share on other sites More sharing options...
brianzinn Posted July 10, 2018 Share Posted July 10, 2018 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. Bladetrick 1 Quote Link to comment Share on other sites More sharing options...
Bladetrick Posted July 10, 2018 Author Share Posted July 10, 2018 Hey thanks, Brian. Attached is my .obj I'll read the links you sent. Appreciate the help. Cockpit.obj Quote Link to comment Share on other sites More sharing options...
Bladetrick Posted July 10, 2018 Author Share Posted July 10, 2018 i set my mesh's backFaceCulling = false and that took care of it. Thanks! brianzinn 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.