I'm trying to get a Sprite
with a normal map to work with a Light2D
node. I have recreated a minimal project with just the Sprite
with the normal map and basic movement, and the Light2D
node. It works fine in the stripped down project. However in my main project, it is acting weird, and is not working as I would expect.
Video demonstration - main/original project - not working
Video demonstration - minimal project - working correctly
The only difference that I can think of between the two projects is that in the main project I am using an AnimationPlayer
to animate the thrusters, which just switches out the whole sprite for each frame. However, I have tried adding a second track to all my animations that includes the normal map propery, and that doesn't improve anything.
Any ideas what would be causing it to look the way that it does?