From 489fb236834b6ec23d9dca436530f541ccf4a775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 26 Oct 2024 13:47:32 -0500 Subject: [PATCH] fix: lighting too bright for pbr tanks --- .../HeroSection/components/TankSandbox/components/Lighting.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 de8562d90..332522f82 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 @@ -9,7 +9,7 @@ export function Lighting() { const display = TankopediaPersistent.use((state) => state.display); const { hasPbr } = useModel(protagonist.tank.id); const isBrighterLighting = - hasPbr && display !== TankopediaDisplay.StaticArmor; + !hasPbr && display !== TankopediaDisplay.StaticArmor; const showEnvironment = TankopediaPersistent.use( (state) => state.showEnvironment, );