PMREMGenerator: properly dispose of shader
@@ -150,6 +150,8 @@ THREE.PMREMGenerator = ( function () {
}
+ shader.dispose();
+
},
};
@@ -167,6 +167,8 @@ var PMREMGenerator = ( function () {