Transparent canvas background

This is because by default the canvas is in premultiplied alpha when using webgl.
Just run the engine initialization like this:

var engine = new BABYLON.Engine(canvas2, true, {
  premultipliedAlpha: false  // Ask for non-premultiplied alpha
}); 
2 Likes