From 461fb38ec83e63a0ea7eee91a70a00fc8b173e73 Mon Sep 17 00:00:00 2001 From: Florian Sylvain Date: Thu, 14 Mar 2024 04:45:59 +0100 Subject: [PATCH] fix: reduced too expensive shadows res --- src/App.tsx | 1 - src/components/Player.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 52b7b4d..7a3607f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -10,7 +10,6 @@ import { Bloom, ChromaticAberration, EffectComposer, - SSAO, Vignette, } from "@react-three/postprocessing"; import { BlendFunction } from "postprocessing"; diff --git a/src/components/Player.tsx b/src/components/Player.tsx index c2d5ebb..ccebd46 100644 --- a/src/components/Player.tsx +++ b/src/components/Player.tsx @@ -159,7 +159,7 @@ export function Player(props: { target={model.scene} castShadow position={[player.x + 100, 100, player.z + 100]} - shadow-mapSize={[4096, 4096]} + shadow-mapSize={[2048, 2048]} intensity={6} >