新しいLive2D公式コミュニティ(日本向け)が公開されました!
ぜひご利用ください!
Live2D公式コミュニティ

■このコミュニティの今後について
このコミュニティ(forum.live2d.com)につきましては、しばらくの間新コミュニティと並行して運営しますが、2023年夏ごろを目処に方針を決定する予定です。
(2022/12/27追記 2022年内を目処に閉鎖 から変更しております)
内容については決定次第お知らせいたします。
海外向けコミュニティについては変更ございません。
Live2Dに関するユーザーのみなさま同士の交流・ご質問・不具合の報告・提案・要望などについて是非お寄せください。
※Live2D公式スタッフからの発言や回答については確約できないことを予めご了承ください。

Live2D ヘルプ

Cubism Editorダウンロード / 動作環境
Cubism SDKダウンロード / 対応表
Cubism 製品利用ライセンス(SDK含)

Cubism 製品のライセンスについてのお問い合わせはこちら
nizima 及び nizima 製品についてのお問い合わせはこちら
【各最新OSの対応状況について】
Cubism Editorは 4.1.02 正式版以降でWindows 11 及び macOS Monterey に対応しております。ぜひ最新版をご利用ください。
※macOSをお使いの方でOSアップデートする際は必ずCubism Editorのライセンスを解除してください。
Cubism EditorをインストールしているmacOSをアップグレードしたい
Cubism SDKについては各SDKのREADMEまたはNOTICEをご確認ください。

【Mac各機種への対応状況について】
現在、Cubism EditorはApple M1チップ搭載機種には対応しておりません。
詳細は 動作環境 をご参照ください。
関連するお問い合わせへの対応はこの文章をもって代えさせていただきます。
Cubism 製品のマニュアル・チュートリアルはこちら
 
Cubism Editorマニュアル    Cubism Editorチュートリアル    Cubism SDKマニュアル    Cubism SDKチュートリアル

Model has black edges when loading via script



I refered to the following script
http://docs.live2d.com/cubism-sdk-tutorials/initializemodel/

but when I drag the model prefab to scene, it shows correctly.
How to solve this issue? Thanks

コメント

  • Hi,

    Depending on the condition of calculation of alpha blend of texture set by Unity, this trouble happens. I'd like you to click "Apply" button with "Alpha Is Transparency" checked in Inspector window after selecting texture.

    Thanks,

  • Hi,

    Depending on the condition of calculation of alpha blend of texture set by Unity, this trouble happens. I'd like you to click "Apply" button with "Alpha Is Transparency" checked in Inspector window after selecting texture.

    Thanks,


    Thank you for your answer, but I want to load image with Texture.LoadImage() function, and I tried to set texture.alphaIsTransparency to true but not work. Is there any way to approach to it? Thanks.
  • Hi, I have the same problem described in this thread.
    What I found is that the BuiltinLoadAssetAtPath function actually is creating a new Texture2D instead of using the texture already imported to the project.
    I changed the code when the assetType is Texture2D to using Resources.Load and put the imported texture under a Resources folder. I wonder if this solution may cause any problems. While, even using texture.LoadImage, you need to make sure the texture is within build so putting the texture under a Resources folder seems necessary.
    Another way I can think is directly load the prefab instead of using the ToModel() things.
    Can you explain the pros and cons of directly loading the prefab and using the ToModel() things (as described in the SDK manual)
    Thank you.
コメントするにはサインインまたは登録して下さい。