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 d2cfd9804..25b7b740a 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 @@ -1,4 +1,3 @@ -import { blueDark, orangeDark } from "@radix-ui/colors"; import { ContactShadows } from "@react-three/drei"; import { invalidate, useFrame } from "@react-three/fiber"; import { clamp, times } from "lodash-es"; @@ -98,11 +97,7 @@ export function Lighting({ hasPbr }: Props) { )} - + {times(LIGHTS_COUNT, (index) => { const x = index / (LIGHTS_COUNT - 1); @@ -125,7 +120,7 @@ export function Lighting({ hasPbr }: Props) { position={position} intensity={intensity} penumbra={1} - castShadow={highGraphics} + castShadow={highGraphics && index === 0} decay={1} color="#ffffff" angle={0}