- C# 100%
| .github/workflows | ||
| Packages/net.voxint.pitvipers | ||
| .gitignore | ||
| LICENSE.md | ||
| README.md | ||
Setup Guide
-
Add the following community repositories to your VRChat Creator Companion app (go to each of the below URL's and click "Add to VCC")
- VRCFury -
https://vcc.vrcfury.com - voxel's VPM registry -
https://vpm.voxint.net - Poiyomi Toon Shader -
https://poiyomi.github.io/vpm- Warning: If you already have Poiyomi installed from a .unitypackage, installing the VCC package will remove it! You can skip this step if it's already installed!
- VRCFury -
-
Go to "Manage Project", then click the plus button next to the following packages:
- VRCFury
- Poiyomi Toon Shader (skip if already installed from .unitypacakge)
- Pit Vipers
-
Open the project in Unity
-
In your Project pane, go to the Prefabs folder (
Packages -> Pit Vipers -> Assets -> Prefabs) -
Find the
Pit Vipers (Poseable)prefab under thePrefabsfolder -
Drag the prefab object into the root of your scene hierarchy first. Then drag it under your avatar's head bone
-
If you're using the default prefab:
- Unpack the prefab completely (Right-click
Pit Vipers (Poseable)in the hierarchy, then Prefab -> Unpack completely) - Move/scale the parent game object until the glasses are in the desired spot
- Adjust the blendshapes on the
Pit Viperschild object until you have the desired look - Finally, right click on
Pit Vipersin the hierarchy, then Mesh Baker -> Bake mesh- Name the exported file and put it somewhere in your assets folder. It doesn't really matter where
- If you hate performance and want to waste an extra skinned mesh renderer slot, then skip this step I guess lol
- Unpack the prefab completely (Right-click
-
If you want your glasses to be poseable, click
Glasses Bone, then drag thePit Viperschild object from the hierarchy intoElement 0under the Ignore Transforms section- If you have Gesture Manager installed, you may wish to put the scene in play mode at this point and make sure the glasses pivot as you intend
-
(Optional) Change the color of different parts of the glasses using one of the provided materials in the "Materials" folder or make your own
-
???
-
PROFIT! NOW YOU LOOK SICK AS FUCK (toggle them on in your radial menu, under Clothing -> Pit Vipers)
Sources
- Original glasses model by Linnaeus
- Remeshing/UV mapping work by @netshepsky
- Material atlassing by MrRocketFX
Licensing
- Glasses 3D model - CC BY 4.0
- Everything else - GNU LGPLv3
Known issues
- The UV map for the frame arms needs work as it's really only good for solid colors right now
- This model uses 3 materials instead of 1 because I'm too lazy to fix the masking for the material. If someone decides to optimize this themselves, I'm open to accepting a PR to include it in this repo.
Disclaimer
This is a fan-made project and is in no way associated with Pit Viper, LLC. The Pit Viper logo and other registered trademarks belong to their respective copyright owners.