I tried setting the wireframe prop as true to render the edges as lines. However, since the mesh is made out of triangles, all it’s edges get visible. I only want to render the boundary lines from the cube!
wireframe
const mesh = new THREE.Mesh( boxGeo, new THREE.MeshBasicMaterial({ color: "red", opacity: 1, side: 2, wireframe: true, }) );
New contributor
Voy Hexag is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.