Browse Source

Changed shadow map type in Ogres example.

New bilinear filtering works nice with cascading shadow maps.
alteredq 12 years ago
parent
commit
03e810d5ba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      examples/webgl_morphtargets_md2_control.html

+ 1 - 0
examples/webgl_morphtargets_md2_control.html

@@ -150,6 +150,7 @@
 				renderer.shadowMapEnabled = true;
 
 				renderer.shadowMapCascade = true;
+				renderer.shadowMapType = THREE.PCFSoftShadowMap;
 				//renderer.shadowMapDebug = true;
 
 				// STATS