Hi!! I need to know why, when I change the shadow.camera parameters, the mode looks “bad”:
s.shadow.camera.near = 0;
s.shadow.camera.far = 500;
s.shadow.camera.top = 200;
s.shadow.camera.right = 200;
s.shadow.camera.bottom= -200;
s.shadow.camera.left = -200;
s.shadow.mapSize.width = 2048;
s.shadow.mapSize.height = 2048;
s.shadow.bias = - 0.001;
Result:
If I reduce it, it looks good:
s.shadow.camera.top = 100;
s.shadow.camera.right = 100;
s.shadow.camera.bottom= -100;
s.shadow.camera.left = -100;
Can someone explain how it works? I want the shadow to cover more ground so I can add more things!
Thanks a lot!!! ![]()
PD: i use THREE.PCFSoftShadowMap and DirectionalLight.

