RemDust yazdı
Is there a way to export specific skeleton slots as a separate material ?? :nerd:
Technically the Spine Editor does not export materials but it exports atlas page textures. For each atlas page texture, and for each blend mode of this texture, a material is created. By default, I see no way to achieve what you want without writing custom code.
However, you could write your own AssetPostprocessor
subclass that overwrites OnPostprocessAllAssets
like SpineEditorUtilities
. There you could atuomatically process e.g. any generated SkeletonDataAsset
assets accordingly, go through all slots of the skeleton and generate additional materials when the slot name ends in your custom suffix like e.g. -Glow
and create your own material for it (likely copying the original material and changing the shader and material parameters accordingly).