Live2d Unity



When publishing (releasing, distributing, selling, or equivalent acts) works that use the sample materials provided by Live2D, an General User or Small-Scale Enterprise (annual sales less than 10 million yen) is free to use the materials (except for Unity-chan and Hatsune Miku) in creative activities for both commercial and non-commercial purposes. Here is a quick tutorial for getting Live2D to work with Unity.C# Scripts:SimpleModel.cs -http://pastebin.com/yz.

Hi everyone, I'm Emp, and I've been learning how to work Live2D. I have some experience under my belt but have been asked by my client to keep things under my hat, so no newer examples (for now).
Here is an example of one of my early experiments.
Movies Sprites for Ren'Py
If you're not sure how they would look, check out here. The basic premise is that I'd make you a movie of the animation plus a mask so that all you see is the moving sprite. The animation loops indefinitely, but because I am also a programmer, I can get around that somewhat by swapping to an idle animation at the proper time.
UnityAnimations for Unity
Live2D has an SDK for Unity that does a lot of the work for you, but I can walk you through the process of getting it set up if need be.
What I need from you
A PSD file for each model to be made. I've created a Checklist for what you need (sprites only, contact me to discuss what is needed for animated CGs/BGs). Each of these items needs to be on a SEPARATE layer. The optional ones you don't need, but if you can provide them they will make things easier on me and the whole process faster.
In addition to this I want a listing of what animations you want and a description of each, so that I know what to make. If I'm unsure about anything I'll be sure to ask you for clarification.
Pricing
Sprites:
Normal Model: 50 USD
Complex Model: 75+ USD depending on complexity
First Animation (usually an idle animation): Free
Additional Animation: +5 USD
CGs
Animated CG Lite (ie very few moving parts): 50 USD
Live2d cubismAnimated CG Normal (up to two people): 75-100 USD depending on complexity
Animated CG Crowd (3+ people or lots of moving parts): 100+ USD depending on complexity
Additional CG animation/variation: +5 USD
BGsLive2d
Animated BG Lite (particle motion or lighting changes): 50 USD
UnityAnimated BG Normal (moving parts): 75 USD
Animated BG Heavy (lots of moving parts): 100+ USD depending on complexity
Addition BG animation/variation: +5 USD

Live2d Unity


For BGs and CGs, a variation is something where I can use the same model to create the secondary version of the BG/CG. If I cannot use the same model to create the effect you are going for then it will count as a separate BG/CG.

Live2d Unity Sdk

Coding:
Coding sprite/bg/cg animations to transfer seamlessly: 25 USD +5 USD per 5 animations

How To Use Live2d Model

I take payment through Paypal, and can send you an invoice if you desire. Please PM me here for commissions, and feel free to ask questions in the thread. I'm pretty active!

Live2d Unity

FAQ (frequently asked questions)‎ > ‎Development‎ > ‎Unity‎ > ‎

C# version

Q. Which platform can I use with the C# version?
A.
You can use any platform as long as it corresponds to Unity.
Q. The Live2D model cannot be drawn even after execution.

A.
Because of certain specifications, you cannot call the draw function with Update().
You should call the update or draw function inside OnPostRender() or OnRenderObject() instead.

Q. The range of Collision Detection is shifted a little upward.


A.
This is because of the bug inside the sample code of version 1.0.00.
Please use sample version 1.0.01 instead as we have fixed this aforementioned error.



Q. When exporting the Texture with an actual machine like iPhone, it compresses and sometimes results in an unclear image.

A.
In the inspector, change the 'Format' setting from 'Compressed' to 'Truecolor' in 'Inspector' view to prevent this problem.
After changing the setting to 'Truecolor', the image will be exported as is.

Q. Is it possible to set layers for a Live2D model?
A. Please note that you cannot set layers for a Live2D model because of the specification.
Q. I cannot display the game object with semitransparent material settingsin front of the Live2D model.
A. This is because of the specification of Live2D drawing structure.
To be able to draw semi-transparent materials, try the following method:
With Unity, materials taken by several cameras are composed.Prepare another camera with the setting of 'Clear Flags' as 'Depth only', and make the value of Depth bigger than that of the main camera, then take a picture of what you want to display on the model with the camera.
Or you can use Render Texture, which is offered with Unity Pro version.
It is possible to avoid this problem by displaying the Live2D model with the Render Texture on the game object.
*Added on 22 Nov. 2013.
Refer to following each subject for details.
Q. Is it possible to display a Live2D model in a semitransparent way?
A. It is possible by using Render Texture, which is offered with Unity Pro version.
You can display a model in a semitransparent way by displaying a Live2D model with Render Texture on the game object, and change the setting of transparency of the game object itself.
Q. Is it possible to paint a color on a Live2D model as a whole by multiplication?
A. You can make setting from the function of Live2DModelUnity.getDrawParam().setBaseColor().
Q. The back side of a Live2D model is not displayed.
A. This error is fixed with SDK version 1.0.02.
Or if you do not want to display the back side, add the following command before setting the Texture.
model.setCulling( true );//Validate the culling. (Do not display the back side)
Q. Tell me more about the two Live2D model drawing methods which were added in version 1.0.03_1.
A. Invoke Live2DModelUnity.setRenderMode() just once and pass one of the following as a parameter.
・Live2D.L2D_RENDER_DRAW_MESH_NOW (The default setting value.)

If you use the setting of
Live2D.L2D_RENDER_DRAW_MESH, you can set Layer for a Live2D model.
Pass in the Layer value (the default is 0) to the parameter of Live2DModelUnity.setLayer().
You will now be able to overlap objects over the Live2D model.
*When you use the Live2D.L2D_RENDER_DRAW_MESH setting, make sure that the camera which renders the Live2D model has Projection set to Orthographic.
Q. When I execute Resources.UnloadUnusedAssets(), an error occurs and the model is not displayed.
A. This error is fixed with SDK version 1.0.04_1.

Q. An error occurs during unzipping the downloaded zip file.
A. Errors may occur while unzipping the file if you use Lhaplus as a decompression software.