I am trying to increase the thickness of a sphere wireframe. It works fine using three.js but I am not sure how to translate this to react-three-fiber
Three.js
var geometry = new WireframeGeometry2(geo);
const matLine = new LineMaterial({
color: 0xffffff,
linewidth: 2,
});
matLine.resolution.set(window.innerWidth, window.innerHeight);
const mesh = new Wireframe(geometry, matLine);
scene.add(mesh);
React-three-fiber
const Globe = () => {
return (
<mesh>
<sphereBufferGeometry args={[2, 9, 9]} />
<meshStandardMaterial wireframe wireframeLinewidth={0.5} />
</mesh>
);
};
Where wireframeLinewidth doesn't work, as explained in the dcumentation
Any Ideas?