Procházet zdrojové kódy

Changed shadow map type in Ogres example.

New bilinear filtering works nice with cascading shadow maps.
alteredq před 12 roky
rodič
revize
03e810d5ba
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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