Browse Source

PointLight shadows example can now use PCF.

Mr.doob 9 years ago
parent
commit
4cd729eaf5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/webgl_shadowmap_pointlight.html

+ 1 - 1
examples/webgl_shadowmap_pointlight.html

@@ -166,7 +166,7 @@
 				renderer.setPixelRatio( window.devicePixelRatio );
 				renderer.setSize( window.innerWidth, window.innerHeight );
 				renderer.shadowMap.enabled = true;
-				renderer.shadowMap.type = THREE.BasicShadowMap;
+				// renderer.shadowMap.type = THREE.BasicShadowMap;
 
 				// Mouse control
 				controls = new THREE.OrbitControls( camera, renderer.domElement );