浏览代码

adjust shadows

Gregg Tavares 7 年之前
父节点
当前提交
3d766db079
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.near = 100;
   dirLight.shadow.camera.far = 950;
-  dirLight.shadow.bias = -0.01;
+  dirLight.shadow.bias = -0.005;
 
   if (showHelpers) {
     const dirLightHeper = new THREE.DirectionalLightHelper(dirLight, 10);