It seems to me, that the Light2D pipeline is broken in phaser3 v3.18.1-FB (installed via npm).
I run into the following probelms, that can also be recreated by editing lab examples:
if a sprite or image doesn’t have a normal map it completely disappears if you activate the pipe2d pipeline.
(easy reproduction: remove normal map loading form this example: http://labs.phaser.io/edit.html?src=src\game%20objects\lights\change%20max%20lights.js )
if a static tilemap layer is assigned the Light2D pipeline, the ambient color is working, but no lights are rendered.
(tested by setting the renderer to webgl on this example: http://labs.phaser.io/edit.html?src=src\game%20objects\tilemap\static\create%20from%20objects.js and adding:
this.lights.enable().setAmbientColor(0x333333); var light = this.lights.addLight(10, 20, 200).setColor(0xffffff).setIntensity(2); layer.setPipeline('Light2D');
Can somebody confirm this, or am I doing something wrong?