瀏覽代碼

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);