فهرست منبع

Changed shadow map type in Ogres example.

New bilinear filtering works nice with cascading shadow maps.
alteredq 12 سال پیش
والد
کامیت
03e810d5ba
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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