I am a newbie to threejs, I wanted to render a box around a symbol in my canvas.The box should be transparent, should only have border around it .The border width of the box should be configurable.
Currently wireframe is used to render a box like shape and I am not able to increase the width of the wireframe to more than 1.It is also mentioned in the documentation that we cannot increase wireframeLinewidth more than 1.
https://threejs.org/docs/index.html#api/en/materials/MeshBasicMaterial
Current code implementation is as follow
const material = new THREE.MeshBasicMaterial({
color: feature.color,
opacity: 0.75,
transparent: true,
side: THREE.DoubleSide,
wireframe: true,
wireframeLinewidth: 1
});
Please help if there a way to build a transparent box like shape with configurable border width in threejs