- Published on
Apply Realistic Eye Movements to a 3D model made by Vroid [Unity / Vroid]
- Authors
- EvelynFull-time IndieDev.I'm Japanese, so please forgive me if my English is strange.
Hi! Welcome to Evelyn GameDev Blog!!
For those of you who are interested, this article will introduce a paid asset called Realistic Eye Movements with Vroid 3d model.
If you read this article to the end, you can implement the following.
The video also explains how to do this, so if there are any parts you don't understand from the blog post alone, please watch the Youtube.
Table of Contents
Importing packages
First, let's create a new project. I'm going to create a Universal Render Pipeline project.
Realistic Eye Movements is a paid asset, but I think it's worth it.
Furthermore, go to the URP UniVRM github page and download the UnityPackage file from the release page.
URP UniVRMDrag and drop the UnityPackage file that you just downloaded into the Unity editor and import it into your project.
If you don't have a VRM file, you can use the sample avatar included in URP UniVRM!!
Once the VRM file has been imported, the files and folders associated with the Vroid will be extracted.
Setting up demo scene
Let's open the Realistic Eye Movements demo scene.
The shader of the material in the demo scene does not support the Universal Render Pipeline, so upgrade the material by selecting Universal Render Pipeline from the Edit menu bar.
The material of the sphere is not upgraded, so change it to another material.
Then, hide the character game object that exists from the beginning and add a 3D model of the Vroid, a child element of the character game object.
The Vroid character I added was a little undersized, so resize it so that it appears in the camera.
Finally, change the Avatar in the Animator component of the Character game object to a VRM avatar and all work is complete.
After working up to this point and running the editor, you should be able to move the eyes of the Vroid character as shown below.
Wrap up
How did it go?
I would be happy to contribute to your game development in any way I can.
Thank you for reading to the end.