Hey MonsterMaker :grinteeth:
I don't think there is any way of getting around the fact that you'll need two separate folders, one with all the images for the Regular atlas, and one with all the images for the NormalMap atlas, and using the texture packer (whether it be through Spine itself, or using the command line) to pack them.
So if you're adding another Skin (meaning more images that need their equivalent normalmap images) I imagine this would be the workflow:
1) Create the skin in photoshop, use the PhotoshopToSpine script to export into the "images" folder.
2) Open your existing Sprite Illuminator project for this character, and add the new images for the skin you just created, and set up the normalmaps
3) Export the updated Sprite Illuminator project into your "normalmap" images folder to update it.
4) Now your "images" and your "normalmap" folders should both be updated with the new skin.
5) Run your texture packers and update your unity project with the results (and of course you'll have to actually set up the Skin in Spine, and re-export the Data)
MonsterMaker534 đã viếtGoal: Use Spine with Normal Maps in Unity
Note: I will create more skins for the same skeleton, so hopefully a solution won’t mean that I would have to keep re-creating normal map atlases for previously created skins whenever I create a new skin for the same skeleton.
Thanks!
When you add a new skin, you'll have to update (creating the normalmap images for the images for the new skins) and re-export your existing Sprite Illuminator project for that character. You shouldn't have to re-do anything besides having to re-export it from Sprite Illuminator, and the re-pack the normalmap.
Lemme know if this answers the question 😃
Also I'm guessing you saw the link to the post where I explained my process more in-detail, it has some info on setting up .bat scripts to run the exporting/packing of the spine projects. Its a bit of work to figure out and set up, but if you find yourself spending a lot of time doing the File->Export / File->Texture Packer commands in Spine, it could save a good bit of time in the long run. Use Premultiplied Alpha when texture packing normal maps?