소스 검색

Set "autoShrink" for dirlight to true by default

ShiroSmith 5 년 전
부모
커밋
2673a3c7f1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      h3d/pass/DirShadowMap.hx

+ 1 - 1
h3d/pass/DirShadowMap.hx

@@ -9,7 +9,7 @@ class DirShadowMap extends Shadows {
 	var mergePass = new h3d.pass.ScreenFx(new h3d.shader.MinMaxShader());
 
 	// Shrink the frustum of the light to the bounds containing all visible objects
-	public var autoShrink = false;
+	public var autoShrink = true;
 	// Clamp the zFar of the frustum of the camera for bounds calculation
 	public var maxDist = -1.0;
 	// Clamp the zNear of the frustum of the camera for bounds calculation