FlailingFog / KK-Blender-Porter-Pack

Plugin pack for exporting Koikatsu characters to Blender.
307 stars 29 forks source link

Body Alpha Mask question #492

Open Ladynekochan opened 6 months ago

Ladynekochan commented 6 months ago

updated blender and the BAM has different cf_m_body_AM files for each different outfit. Which is amazing this is what I need. However, I need to set cf_m_body_AM_00 to only outfit 00, cf_m_body_AM_01 to only outfit 01, etc. How do I do this? https://github.com/FlailingFog/KK-Blender-Porter-Pack/issues/378 says "If you're using multiple outfits, the alphamask may change based on the outfit. If you need to change the alphamask you can open up the Body textures node group on the body material...and change the alphamask to the bodyAM## file that corresponds to your outfit" which is what I am doing. However, I need to use all 7 BAMs for each png for its corresponding outfit how do I do this?

This is using the BAM for outfit01. Outfit01 looks good, however, there are parts of the body missing for Outfit02. outfit01 outfit02

So I use the BAM for outfit02. Outfit02 looks great, but not Outfit01. outfit02-2 outfit01-2

So I need to figure out how to use all the BAMs simultaneously depending on the outfit. I will be baking and exporting this model with the outfits to work with in unity. I want to keep all the outfits and body together. I do not want to have to bake for outfit 01 export, go back to before the bake, set it for outfit 02, bake, then export to where I have 2 of the exact same model just a different outfit. I need one model that has all the outfits.

FlailingFog commented 6 months ago

Sorry, it is not currently setup to automatically bake like this. You can export all outfits in one model and bake all outfits at once, but for the body you will either have to...

Ladynekochan commented 5 months ago

I have been trying to figure out what you said but I can not understand it. It reads like if I do the first one I will have 8 figures each with its own BAM and have to switch from model one to model two to model three ect. which is what I can not do. As for the second option I tried to remove the BAM and it turned into a see-through body. This does not help because I need to be able to access the baked files for them to show up in Unity.

Ladynekochan commented 4 months ago

I did an update to blender and things seemed to be working just fine all the outfits looked good and I did not have to change the alpha mask or anything. However the second I bake the materials, one of my seven outfits breaks. The other 6 perfect no problems, but my favorite outfit breaks and holes show up in the chest. I don't understand what I am doing wrong. I have been struggling with holes in the chest for four months now, just as soon as I think I have it all fixed and working properly I go back to square one.