Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.defer.then(() => {
if (!material.uniforms[textureID])
material.uniforms[textureID] = {value: null};
const pass = new ShaderPass(material, textureID);
this.composer.addPass(pass);
this.currentPass = pass;
});
this.defer.then(() => {
if (!material.uniforms[textureID])
material.uniforms[textureID] = {value: null};
const pass = new ShaderPass(material, textureID);
this.composer.addPass(pass);
this.currentPass = pass;
});