소스 검색

Fix shadow map disposing default depth buffer.

clementlandrin 2 년 전
부모
커밋
fe4974d928
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      h3d/pass/PointShadowMap.hx

+ 0 - 1
h3d/pass/PointShadowMap.hx

@@ -29,7 +29,6 @@ class PointShadowMap extends Shadows {
 		lightCamera.screenRatio = 1.0;
 		lightCamera.fovY = 90;
 		shader = pshader = new h3d.shader.PointShadow();
-		depth = h3d.mat.Texture.getDefaultDepth();
 
 		faceMask.set(Front);
 		faceMask.set(Back);