Sfoglia il codice sorgente

Remove dispose() of now removed depthMaterial (#26946)

Fixes Uncaught TypeError: Cannot read properties of undefined (reading 'dispose')
Mounier Florian 1 anno fa
parent
commit
937edb5f5b
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      examples/jsm/postprocessing/SAOPass.js

+ 0 - 1
examples/jsm/postprocessing/SAOPass.js

@@ -314,7 +314,6 @@ class SAOPass extends Pass {
 		this.blurIntermediateRenderTarget.dispose();
 		this.normalRenderTarget.dispose();
 
-		this.depthMaterial.dispose();
 		this.normalMaterial.dispose();
 		this.saoMaterial.dispose();
 		this.vBlurMaterial.dispose();