Normal maps not cleared after moving/removing object
Casmo opened this issue · comments
Mathieu commented
Hi,
When I move an object or remove an object from the stage that has a normal map attached to it the area where it previously was is not "cleared".
Here is an example of the effect: JSFiddle
Mathieu commented
I obviously fixed by placing a background in the scene. Thanks for the great plugin!
var texture = PIXI.Texture.fromImage('http://cdn.couchfriends.com/games/breakout/assets/tiled-background.png');
var background = new PIXI.TilingSprite(texture, w, h);
stage.addChild(background);