title: Three js EffectComposer + BloomPass not working
body: <p>Cannot for the life of me figure out what's wrong (especially with how undocumented these two .js files are) but I've included the EffectComposer and BloomPass within my project and am trying to call it like so:</p>
  
  <pre><code>parameters = { bloomStrength: 1.3, bloomFactor: 1.0,}
  
              var renderPass = new THREE.RenderPass(scene, camera);
              var copyPass = new THREE.ShaderPass(THREE.CopyShader);
              copyPass.renderToScreen = true;
  
              composer = new THREE.EffectComposer ( renderer );
              composer.addPass(renderPass);
              composer.addPass(copyPass);
  
              var effectBloom = new THREE.BloomPass ( 3, 25, 5, 256);
              composer.addPass (effectBloom);
  </code></pre>
  
  <p>BloomPass.js throws an error by itself (not within my code) stating that "Uncaught TypeError: Cannot read property 'prototype' of undefined at BloomPass.js:76"The BloomPass 76 line is as follows:</p>
  
  <pre><code>THREE.BloomPass.prototype = Object.assign( Object.create( THREE.Pass.prototype ), {
  </code></pre>
  
  <p>I believe due to this the EffectComposer is also throwing an error for the 
  <code>composer.addPass(effectBloom);</code> line: 
  Uncaught TypeError: pass.setSize is not a function at THREE.EffectComposer.addPass</p>
  
  <pre><code>pass.setSize( size.width, size.height );
  </code></pre>
  
  <p>Any idea what I'm doing wrong? According to the few examples I'm setting everything up correctly...
  Any help is greatly appreciated!</p>