Closed inmylo closed 4 years ago
Having looked at this, the error is nothing to do with the tilemap, it's just to do with the fact that load.spritesheet
doesn't support normal maps. If you swap it for an image or an atlas it'll work fine.
Sorry to bother you. Will load.spritesheet
support normal maps in the future or it is not expected to?
Yes, but not in 3.16.
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master
branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
This issue has been mentioned on Phaser. There might be relevant details there:
https://phaser.discourse.group/t/normal-maps-with-spritesheets-and-phaser-3-5/7503/1
Version
Description
I've noticed problems with tilemap dynamic layer and sprites when I enable light:
Example Test Code
Here is an example code, which you can copy to the labs.phaser.io and run:
Javascript error in the console:
In Firefox ESR (v52.9) error's description is a little more informative:
In Firefox 61 sprite is visible, but no light. No related errors in the console.