Browse Source

Update webgl_shadowmap_viewer.html

Mr.doob 10 years ago
parent
commit
797316c14a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/webgl_shadowmap_viewer.html

+ 1 - 1
examples/webgl_shadowmap_viewer.html

@@ -95,7 +95,7 @@
 				dirLight.shadowCameraLeft = -15;
 				dirLight.shadowCameraTop	= 15;
 				dirLight.shadowCameraBottom = -15;
-				spotLight.shadowDarkness = 0.5;
+				dirLight.shadowDarkness = 0.5;
 				dirLight.shadowCameraVisible = true;
 				dirLight.shadowMapWidth = 1024;
 				dirLight.shadowMapHeight = 1024;