liabru/matter-js — pull request #33 by mrspeaker (2014-06-13 02:05:40+00:00)
Title: Make background:'transparent' work like canvas renderer

There's currently no way to make the renderpixi use a transparent background. In the canvas renderer it works by setting a css property ("background:transparent") but the webgl context needs to be passed to the Pixi constructor. I made the two versions work the same way (set "background:transparent" in options) as I need my project to work the same with both Matter.Render and Matter.RenderPixi.

In Matter.Render you can set any CSS property (including an image). This doesn't fix that, but you can set a colour or transparent and set the image in CSS