Browse Source

Update webgl_shadowmap_viewer.html

Mr.doob 10 năm trước cách đây
mục cha
commit
797316c14a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;