I followed the outline post processing example, using the effect on a transparent canvas(the alpha buffer is enabled in WebGLRenderer). While an object is selected and added the outline, the canvas background becomes black instead of transparent(see the screenshots below).
How can i keep the background as transparent with the outline effect?
Thanks.
If i set renderer.setClearColor( 0xffffff );in the mentioned example, the background stays white. Is it possible to provide a live demo with your code?
Rather than the background being white, the background is transparent and the image above had it white. I’ve made a fiddle to show the issue by having a red css background which changes to black once you mouse over one of the elements.
This is probably what I will use as the solution, but would be good if anyone knows why the following lines with BlurDirectionY would cause this effect?