feat: no depth read core tracer

This commit is contained in:
TrèsAbhi committed 2024-02-29 15:38:57 -06:00
1 parent 90ec5fa80b
commit c626e84f7d
1 file changed
+2 -1
@@ -95,7 +95,7 @@ export function ShotDisplay() {
>
<mesh position={[0, preMidPointGap! / 2, 0]}>
<cylinderGeometry args={[TRACER_THIN, TRACER_THIN, preMidPointGap]} />
<meshBasicMaterial />
<meshBasicMaterial depthTest={false} />
</mesh>
<mesh position={[0, preMidPointGap! / 2, 0]} ref={preMidPointTracer}>
@@ -128,6 +128,7 @@ export function ShotDisplay() {
<cylinderGeometry
args={[TRACER_THIN, TRACER_THIN, postMidPointGap]}
/>
<meshBasicMaterial depthTest={false} />
</mesh>
<mesh