EffectComposer and alpha channel with three.js
===


Here is my code :

    renderTargetParametersRGBA = { minFilter: THREE.LinearFilter, magFilter: THREE.LinearFilter, format: THREE.RGBAFormat,stencilBuffer: true  };
    colorTarget = new THREE.WebGLRenderTarget( SCALE * SCREEN_WIDTH, SCALE * SCREEN_HEIGHT, renderTargetParametersRGBA );
    composer = new THREE.EffectComposer( renderer,colorTarget );
    var renderScene = new THREE.RenderPass(scene,camera);
    var effect2 = new THREE.ShaderPass(THREE.ShaderExtras[ "shader1" ]);
    composer.addPass(renderScene);
    composer.addPass(effect2);

In renderScene I set the alpha channel of my scene to a certain value but in my shader1 I don't find the same value for the alpha channel, it seems that the alpha channel is destroyed.What's wrong ?

Thank you