瀏覽代碼

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