Browse Source

adjust shadows

Gregg Tavares 7 years ago
parent
commit
3d766db079
1 changed files with 1 additions and 1 deletions
  1. 1 1
      threejs/background.html

+ 1 - 1
threejs/background.html

@@ -90,7 +90,7 @@ function main() {
   dirLight.shadow.camera.bottom = -d;
   dirLight.shadow.camera.bottom = -d;
   dirLight.shadow.camera.near = 100;
   dirLight.shadow.camera.near = 100;
   dirLight.shadow.camera.far = 950;
   dirLight.shadow.camera.far = 950;
-  dirLight.shadow.bias = -0.01;
+  dirLight.shadow.bias = -0.005;
 
 
   if (showHelpers) {
   if (showHelpers) {
     const dirLightHeper = new THREE.DirectionalLightHelper(dirLight, 10);
     const dirLightHeper = new THREE.DirectionalLightHelper(dirLight, 10);