PixelPush Posted August 3, 2017 Share Posted August 3, 2017 Hi, Is there anyway to allow double side materials or mesh? I have a plane with a texture on. At the moment when the camera dips under the plane the texture isn't showing. When the camera is on top, it's showing fine. Thanks Quote Link to comment Share on other sites More sharing options...
Arte Posted August 3, 2017 Share Posted August 3, 2017 Hi PixelPush, BABYLON.Mesh.CreatePlane("plane", 1, scene, false, BABYLON.Mesh.DOUBLESIDE); Wingnut 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted August 7, 2017 Share Posted August 7, 2017 Yep. And perhaps mesh.material.backFaceCulling = false; And then, if you are using a hemisphericLight... it might be wise to have: light.groundColor = new BABYLON.Color3(.5, .5, .5); (for lighting-up your bottoms) NasimiAsl, Arte and JohnK 3 Quote Link to comment Share on other sites More sharing options...
HiteshSahu Posted September 15, 2019 Share Posted September 15, 2019 Simply use cover.backFaceCulling = false; in material //Add Plane var cover = new BABYLON.StandardMaterial("cover", scene); cover.diffuseTexture = new BABYLON.Texture( "https://upload.wikimedia.org/wikipedia/commons/2/2a/VichyKaro.png" ); cover.backFaceCulling = false; 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.