I've enabled normal map packing, but all sprites are placed on the same texture.
By default, the "Auto-detect" feature identifies normal maps based on their color values and links them to sprites with similar file names.
If this heuristic doesn't work as expected, you can disable "Auto-detect" and manually specify how normal maps are identified using one of the following methods:
Path filter
TexturePacker will treat images as normal maps if their file path contains a specific keyword.
This is useful if you store all normal maps in a dedicated folder (e.g., normals/
):
sprites/sprite1.png
sprites/sprite2.png
normals/sprite1.png
normals/sprite2.png
Normal map suffix
Alternatively, you can define a suffix that marks normal maps.
This is helpful if your normal maps follow a consistent naming convention, such as _n
:
sprite1.png
sprite1_n.png
sprite2.png
sprite2_n.png