Canvas background is always black when using postprocessing

postprocessing

#1

When set WebGLRenderer alpha=true

https://jsfiddle.net/f2Lommf5/16257/

    renderer = new THREE.WebGLRenderer( { antialias: true ,alpha: true} )

canvas context imagedata is transparent

but use postprocessing canvas context image always black
https://jsfiddle.net/f2Lommf5/16258/

Then I try.
https://jsfiddle.net/f2Lommf5/16259/

 var renderScene = new THREE.RenderPass( scene, camera ,null,new THREE.Color('red'),0);

canvas context imagedata still black

I hope when postprocessing canvas context imagedata is transparent,I can save canva as transparent image.
What should I do?


#2

That might be an issue with UnrealBloomPass pass. There is already an issue that tackles this problem.


#3

thanks ; I Look at it.:grin: