Why are my sprites going dark when I add a normal map?

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

I was trying to add normal maps to my tileset (autotile and tile atlas) and noticed when I added them everything was going dark, so I went and created a simple sprite to try and understand what was wrong, but ended up with the same result.

Without normal map:
Tile Sprite without normalmap

With normal map:
Tile Sprite with normalmap

The normal map was generated with Sprite Illuminator, and I tried inverting Y as well just in case, but the result is the same. The import settings are default, except for filtering which is disabled.

This happens with single sprites and atlas textures as well (which is why I was getting the same issue with the tileset.

Does anyone have any idea what I’m doing wrong here?

:bust_in_silhouette: Reply From: Voidburn

Found the problem:

The point lights I was testing with had a proper range>height value set, but I also had environment lights covering the rooms that were at height 0, and that’s what was affecting the expected result.