From 2559782a28055856fd647cee9a3fdd9c09b7db24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Wed, 26 Nov 2025 20:25:45 -0600 Subject: [PATCH] fix: ground phasing through --- .../components/TankSandbox/components/SceneProps/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/SceneProps/index.tsx b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/SceneProps/index.tsx index da145ccce..51944da18 100644 --- a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/SceneProps/index.tsx +++ b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/SceneProps/index.tsx @@ -14,7 +14,7 @@ export function SceneProps() { useFrame(({ camera }) => { if (!material.current) return; - material.current.opacity = clamp(0.5 * camera.position.y, 0, 0.5); + material.current.opacity = clamp(0.5 * camera.position.y, 0, 0.25); }); useEffect(() => { @@ -36,6 +36,7 @@ export function SceneProps() { receiveShadow visible={!screenshotReadyEvent.last!} ref={mesh} + renderOrder={-1} >