環境
UNITY2019.4.5.f1
spine3.8.99
問題
①spineのTexture Packerの設定でBleed設定を使用しています。(パーツに黒い線が見えるので解消するため)
②spineの描画モードには加算、乗算も含まれるので、skeletonのinspector上でDefault BlendModeMaterialsを割り当てています。
③unityで表示すると加算、乗算の描画モードのデータが乱れます。
解消方法を教えてください。
環境
UNITY2019.4.5.f1
spine3.8.99
問題
①spineのTexture Packerの設定でBleed設定を使用しています。(パーツに黒い線が見えるので解消するため)
②spineの描画モードには加算、乗算も含まれるので、skeletonのinspector上でDefault BlendModeMaterialsを割り当てています。
③unityで表示すると加算、乗算の描画モードのデータが乱れます。
解消方法を教えてください。
使用される Default BlendModeMaterials
は、デフォルトで3つのマテリアルSkeletonPMAAdditive
、 SkeletonPMAMultiply
、およびSkeletonPMAScreen
で構成されています。 これらの資料を見ると、ストレートアルファではなくPMAに設定されています。
したがって、「Straight AlphaTexture」を有効にして3つのマテリアルの独自のコピーを作成し、それらを「BlendModeMaterials」アセットに割り当てるか、プロジェクトでPMAマテリアルを必要とする人がいない場合は、既存のアセットで有効にすることができます。
The used Default BlendModeMaterials
is by default configured with three materials SkeletonPMAAdditive
, SkeletonPMAMultiply
and SkeletonPMAScreen
. If you look at these materials, they are set to PMA and not straight alpha.
So you can either create your own copies of the three materials with Straight Alpha Texture
enabled and assign them to the BlendModeMaterials
asset, or just enable it at the existing ones, if no-one requires PMA materials in your project.
ありがとうございます。
解消できました。感謝いたします。
それがあなたの問題を解決したと聞いてうれしいです。 知らせてくれてありがとう。
Glad to hear that it resolved your problem. Thanks for letting us know.