hit2501 Posted March 26, 2015 Share Posted March 26, 2015 Hi. I got a question, why when I import a plane from Blender into babylon I can see one side of the plane and when I move to the other side the plane disappear, how can I fix this? Thanks. Quote Link to comment Share on other sites More sharing options...
Wingnut Posted March 27, 2015 Share Posted March 27, 2015 Hi again! You might try putting a StandardMaterial on it... and then try mesh.material.backFaceCulling = false; maybe. Quote Link to comment Share on other sites More sharing options...
Temechon Posted March 27, 2015 Share Posted March 27, 2015 Hi ! Double sided meshes are not supported by webgl. One workaround is to set the property backFaceCulling of its material to "false" (exactly like Wingnut said).var st = new BABYLON.StandardMaterial("myplanematerial", scene);st.backFaceCulling = false;plane.material = st; hit2501 1 Quote Link to comment Share on other sites More sharing options...
hit2501 Posted March 27, 2015 Author Share Posted March 27, 2015 Thanks again, Ill try it but I did it with a flattened cube and works fine. 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.