mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: no depth read core tracer
This commit is contained in:
1 parent
90ec5fa80b
commit
c626e84f7d
1 file changed
+2
-1
@@ -95,7 +95,7 @@ export function ShotDisplay() {
|
|||||||
>
|
>
|
||||||
<mesh position={[0, preMidPointGap! / 2, 0]}>
|
<mesh position={[0, preMidPointGap! / 2, 0]}>
|
||||||
<cylinderGeometry args={[TRACER_THIN, TRACER_THIN, preMidPointGap]} />
|
<cylinderGeometry args={[TRACER_THIN, TRACER_THIN, preMidPointGap]} />
|
||||||
<meshBasicMaterial />
|
<meshBasicMaterial depthTest={false} />
|
||||||
</mesh>
|
</mesh>
|
||||||
|
|
||||||
<mesh position={[0, preMidPointGap! / 2, 0]} ref={preMidPointTracer}>
|
<mesh position={[0, preMidPointGap! / 2, 0]} ref={preMidPointTracer}>
|
||||||
@@ -128,6 +128,7 @@ export function ShotDisplay() {
|
|||||||
<cylinderGeometry
|
<cylinderGeometry
|
||||||
args={[TRACER_THIN, TRACER_THIN, postMidPointGap]}
|
args={[TRACER_THIN, TRACER_THIN, postMidPointGap]}
|
||||||
/>
|
/>
|
||||||
|
<meshBasicMaterial depthTest={false} />
|
||||||
</mesh>
|
</mesh>
|
||||||
|
|
||||||
<mesh
|
<mesh
|
||||||
|
|||||||
Reference in new issue
Block a user