Explorar el Código

Changed shadow map type in Ogres example.

New bilinear filtering works nice with cascading shadow maps.
alteredq hace 12 años
padre
commit
03e810d5ba
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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