Transparent background with three.js
For Three.js < v125 You have also to set: scene.background = null;
If you want a transparent background in three.js, you need pass in the alpha
parameter to the WebGLRenderer
constructor.
var renderer = new THREE.WebGLRenderer( { alpha: true } );
You can leave the clear color at the default value.
renderer.setClearColor( 0x000000, 0 ); // the default
three.js r.71