mirror of
https://github.com/Floriansylvain/generic-threejs-game.git
synced 2026-08-19 19:53:23 +02:00
fix: reduced too expensive shadows res
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user