Sfoglia il codice sorgente

Fix shadow map disposing default depth buffer.

clementlandrin 2 anni fa
parent
commit
fe4974d928
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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);