From e26bb4efe0b7b81d39eae17a8b75526beca8ae7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 6 Sep 2025 12:40:35 -0500 Subject: [PATCH] feat: some changes to lighting... again --- .../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 b7a46d07e..62baa6add 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 @@ -11,7 +11,7 @@ const LIGHTS_COUNT = 5; const LIGHT_DISTANCE = 13; const LIGHT_HEIGHT_0 = 4; const LIGHT_HEIGHT_1 = 2; -const INTENSITY = 35; +const INTENSITY = 50; const N = 128; const TARGET_FRAME_RATE = 30; 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 baf1d4d52..da145ccce 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, 1); + material.current.opacity = clamp(0.5 * camera.position.y, 0, 0.5); }); useEffect(() => {