When rotating a container that includes a sprite that have Light2D pipeline, the sprite get rendered incorrectly, it get drawn with the light then it get rotated, and that cause the light to look like its in different angle.
var config = { type: Phaser.WEBGL, parent: 'phaser-example', width: 800, height: 600, scene: { preload: preload, create: create, update: update } }; var game = new Phaser.Game(config); function preload () { this.load.image('spider', ['assets/normal-maps/spider.png', 'assets/normal-maps/spider_n.png']); } function create () { spider = this.add.sprite(0, 0, 'spider'); spider.setPipeline('Light2D'); container= this.add.container(400,300,[spider]); light = this.lights.addLight(0, 0, 800).setIntensity(6); this.lights.enable().setAmbientColor(0x888888); } function update () { container.angle += 1; }