Canvas background is always black when using postprocessing



When set WebGLRenderer alpha=true

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

canvas context imagedata is transparent

but use postprocessing canvas context image always black

Then I try.

 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?


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


thanks ; I Look at it.:grin: