fix: reduced too expensive shadows res

This commit is contained in:
Florian Sylvain
2024-03-14 04:45:59 +01:00
parent db6a2a1cd1
commit 461fb38ec8
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -10,7 +10,6 @@ import {
Bloom, Bloom,
ChromaticAberration, ChromaticAberration,
EffectComposer, EffectComposer,
SSAO,
Vignette, Vignette,
} from "@react-three/postprocessing"; } from "@react-three/postprocessing";
import { BlendFunction } from "postprocessing"; import { BlendFunction } from "postprocessing";
+1 -1
View File
@@ -159,7 +159,7 @@ export function Player(props: {
target={model.scene} target={model.scene}
castShadow castShadow
position={[player.x + 100, 100, player.z + 100]} position={[player.x + 100, 100, player.z + 100]}
shadow-mapSize={[4096, 4096]} shadow-mapSize={[2048, 2048]}
intensity={6} intensity={6}
> >
<orthographicCamera <orthographicCamera