mirror of
https://github.com/Floriansylvain/generic-threejs-game.git
synced 2026-08-19 11:43:18 +02:00
fix: reduced too expensive shadows res
This commit is contained in:
@@ -10,7 +10,6 @@ import {
|
||||
Bloom,
|
||||
ChromaticAberration,
|
||||
EffectComposer,
|
||||
SSAO,
|
||||
Vignette,
|
||||
} from "@react-three/postprocessing";
|
||||
import { BlendFunction } from "postprocessing";
|
||||
|
||||
@@ -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}
|
||||
>
|
||||
<orthographicCamera
|
||||
|
||||
Reference in New Issue
Block a user