From e2df4d35b8cba3fe195cf3d185cdd0b183900496 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Mon, 10 Aug 2026 16:58:40 -0500 Subject: [PATCH] flip lighitng and add metalness --- .../HeroSection/components/TankSandbox/components/Lighting.tsx | 2 +- .../components/TankSandbox/components/SceneProps/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Lighting.tsx b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Lighting.tsx index bf2f1f93f..2a78f3097 100644 --- a/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Lighting.tsx +++ b/packages/website/src/components/Tankopedia/HeroSection/components/TankSandbox/components/Lighting.tsx @@ -81,7 +81,7 @@ export function Lighting() { const x = index / (LIGHTS_COUNT - 1); const theta = 2 * Math.PI * (index / LIGHTS_COUNT) + THETA_OFFSET; const position = [ - LIGHT_DISTANCE * Math.sin(theta), + -LIGHT_DISTANCE * Math.sin(theta), lerp(LIGHT_HEIGHT_0, LIGHT_HEIGHT_1, x), LIGHT_DISTANCE * Math.cos(theta), ] as const; 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 c8cbf3d16..f306c6eb1 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 @@ -37,7 +37,7 @@ export function SceneProps() { ref={material} color="black" roughness={1} - metalness={1} + metalness={0} /> );