[About macOS Ventura 13.0] (12/20/2022)
The currently released Live2D Cubism SDK is not guaranteed to work with macOS Ventura.
Please refrain from upgrading the macOS as they may not work properly.
The Cubism Editor license file may be lost after the macOS upgrade.
Please make sure to deactivate the Cubism Editor license before upgrading the macOS.
For more details
About the support for Mac models
Cubism Editor is not supported with Apple M1 processors.
Please refer to System Requirements
We will not respond to any related inquiries with this message.
Shadows of Live2D Model - Unity
I would like to know if there is any way of getting a shadow projection for a Live2D model in Unity. Ej: a Live2D canvas and a plane behind that receive the shadow of the model (its shape).
I have tried using differents types of shaders without success. Not sure if exists a simple way.
A possible solution could be get the pixels data after live2d.draw() of the associated GameObject call and then paste those pixels to a transparent texture. After that, change the texture color to "black" and use that textue on a plane placed as shadow would be.
I don´t know if that could be a possible solution. Nevertheless, I don´t know how to get pixels data after a draw() call or exactly how to do all operation.
Does anyone know how to implement this functionality? Or any help?
Did you give render textures (http://docs.unity3d.com/Manual/class-RenderTexture.html) a try?
You could draw your live2d model onto a render texture, attach that texture to a quad and first use that quad for rendering the model. After that, you could "project" the render texture onto the background plane to fake the shadow.
This might currently be the "easiest" way to achieve the effect you want. I could try to write up a small example but that would be in a few days.
Thanks a lot for your response. That solution works great.
I have to check the performance of getting more cameras in my scene.