diff --git a/src/components/three/ModelViewer.tsx b/src/components/three/ModelViewer.tsx index b4e71c5..7cae3e7 100644 --- a/src/components/three/ModelViewer.tsx +++ b/src/components/three/ModelViewer.tsx @@ -190,6 +190,9 @@ function GLBModel({ sceneModel, isActive }: { sceneModel: SceneModel; isActive: const lineMat = new THREE.LineBasicMaterial({ color: measureMode ? '#00f3ff' : wireframeColor, linewidth: measureMode ? 2 : wireframeThickness, + toneMapped: false, + transparent: true, + opacity: 0.95, }); const lineSegments = new THREE.LineSegments(edgesGeo, lineMat); lineSegments.userData.__edgeLine = true; diff --git a/src/pages/XRSession.tsx b/src/pages/XRSession.tsx index 6448e09..cac2c2d 100644 --- a/src/pages/XRSession.tsx +++ b/src/pages/XRSession.tsx @@ -182,6 +182,9 @@ function XRModel({ sceneModel }: { sceneModel: import('@/stores/useModelStore'). const lineMat = new THREE.LineBasicMaterial({ color: measureMode ? '#00f3ff' : wireframeColor, linewidth: measureMode ? 2 : wireframeThickness, + toneMapped: false, + transparent: true, + opacity: 0.95, }); const lineSegments = new THREE.LineSegments(edgesGeo, lineMat); lineSegments.userData.__edgeLine = true;