how is it possible to add a wireframe with thicker lines than 1? As with using LineBasicMaterials the linewidth property doesn't work, and I was unable to make it work with MeshLines.
Thanks
PS
loader.load('assets/' + baseName + '.obj', function (object) {
object.traverse(function (child) {
if (child instanceof THREE.Mesh) {
child.material.map = texture;
let geo = new THREE.EdgesGeometry( child.geometry ); // or WireframeGeometry
let mat = new THREE.LineMaterial( {
color: 0x000000,
linewidth: 10, // in pixels
vertexColors: THREE.VertexColors,
} );
let wireframe = new THREE.LineSegments( geo, mat );
child.add( wireframe );
child.material.emissive.r = 0.98;
child.material.emissive.g = 0.98;
child.material.emissive.b = 0.98;
}
});