Something causing Light2D and/or Sprite normal map to not work properly?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Eric Ellingson

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?

:bust_in_silhouette: Reply From: Eric Ellingson

I figured out the issue. In my main project I am using a spritesheet with the AnimationPlayer to handle my animations. However, I was still only using a single normal map image (one frame’s worth). I only need the one normal map, which is the same for every frame of the animation, however I needed to create an additional spritesheet that mirrored the main spritesheet, where each frame is the one normal map.