Opacity of a live2D model in unity

edited December 2023 in Help
Greetings, the opacity option of the live2D script changes the transparency by parts and not by the whole model, I thought using an animation for the opacity, but when I imported the animation in the unity it uses the same parameter of the script and causes the same effect, is there any way to create this fading effect?


Comments

  • @yoowillns,

    CubismRenderController is to manage rendering whole parts of a model. To manipulate Opacity for each part, do the following on MonoBehaviour.LateUpdate().
    float opacity = [opacity]; // 0.0f to 1.0f
    CubismModel.Parts[n].Opacity = opacity;
    I hope this helps you a lot.
Sign In or Register to comment.