This commit is contained in:
Adrien MALINGREY 2023-06-10 20:28:42 +02:00
parent f0415b52ed
commit 98c4162263

View File

@ -148,7 +148,7 @@ scene.add(ambientLight);
const sunLight = new THREE.DirectionalLight(0xffffff, 0.3);
sunLight.castShadow = true;
sunLight.shadow.camera.near = 20;
sunLight.shadow.camera.far = 200;
sunLight.shadow.camera.far = 250;
sunLight.shadow.camera.right = 10;
sunLight.shadow.camera.left = -10;
sunLight.shadow.camera.top = 10;
@ -305,7 +305,7 @@ if (showParam) {
showHelper.onChange(function (value) {
lightHelper.visible = value;
octreeHelper.visible = value;
//octreeHelper.visible = value;
});