https://i.sstatic.net/yLrC0.png
Currently, I am utilizing a custom model created in Blender for my ThreeJS project. After exporting it to a .obj file, I then utilized the Three-js conversion utility to generate a json file. When I set the model to rotate, it reveals the other side of the model. Below is the code snippet I am employing to load the model:
loader.load("pegnin.js", function(geometry, materials){
material = new THREE.MeshPhongMaterial( {
color: 0xff0000,
polygonOffset: true,
polygonOffsetFactor: 1, // positive value pushes polygon further away
polygonOffsetUnits: 1
});
material.depthTest = true;
mesh = new THREE.Mesh(geometry, material);
scene.add(mesh);
});
Live Demo