mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
fix: safer outlines
This commit is contained in:
1 parent
99cdf931a8
commit
0f45476a8b
1 file changed
+5
-3
@@ -205,9 +205,11 @@ export function StaticArmorSceneComponent({
|
|||||||
},
|
},
|
||||||
})}
|
})}
|
||||||
|
|
||||||
<lineSegments material={outlineMaterial}>
|
{node instanceof Mesh && (
|
||||||
<edgesGeometry args={[(node as Mesh).geometry, 45]} />
|
<lineSegments material={outlineMaterial}>
|
||||||
</lineSegments>
|
<edgesGeometry args={[node.geometry, 90 / 6]} />
|
||||||
|
</lineSegments>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user