-
Notifications
You must be signed in to change notification settings - Fork 3
⛔ Create advanced modification guide. #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
hai-vr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⛔ This guide is not up to date
|
|
||
| - Create a black point light with the following settings: | ||
| - realtime | ||
| - radius: 0.9 (**it is important to keep the radius very small**) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.9 may be too large
| - Disable cast shadows. | ||
| - Disable receive shadows. | ||
| - Set Override Anchor to be the hips of the avatar. | ||
| - Use **INSERT PLUGIN NAME** and multiply the bounding box values of the MeshRenderer by 100. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is super hard. Also use 1024 instead of 100 for consistency
|
|
||
| If not already done, reduce the avatar to use a few materials and ideally one mesh. Having many materials and meshes will make the job extremely difficult. | ||
|
|
||
| ## Text editor: Create a shader to hide the real arm of the main avatar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this section and add a link the the advanced shader guide.
| - Add a geometry shader or edit the existing one. | ||
| - In the geometry shader, return immediately if the fake arm is enabled AND the values of green and blue are zero. | ||
|
|
||
| ## Text editor: Create a shader to show the fake arm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this section and add a link the the advanced shader guide.
| In a copy of your main avatar: | ||
|
|
||
| - Select the vertex groups of hand & fingers, forearm and upper arm. Don't select the shoulder. | ||
| - Use Vertex painting to set these vertices RED (1.0, 0.0, 0.0). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The color needs to be reviewed to support the left arm.
| - Select the vertex group of hand & fingers and forearm. | ||
| - Set the vertex color to RED (1.0, 0.0, 0.0). | ||
| - Select the vertex group of upper arm. | ||
| - Set the vertex color to GREEN (0.0, 1.0, 0.0). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The colors are wrong since the vertex painting has completely changed.
| - Select the vertex group of upper arm. | ||
| - Set the vertex color to GREEN (0.0, 1.0, 0.0). | ||
| - Select all vertices. | ||
| - Perform a vertex paint smoothing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May need to find another way to copy the vertex paint. Mandate usage of another lightweight editor script here?
| - radius: 0.9 (**it is important to keep the radius very small**) | ||
| - color: (0, 0, 0, 255) | ||
| - not important | ||
| - intensity: the random value you chose |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mention usage of negative light intensity
| - Set the main avatar skinned mesh renderer material property to enable the fake arm. | ||
| - Set the fake arm mesh renderer material property to enable the fake arm. | ||
| - Add that gesture animation to your animator controller. | ||
| - Make sure the avatar uses that animator controller. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is another animation strategy to hide the arm
No description provided.