How to do Material - Swap Toggle (VRChat Tutorial) 2022

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys and welcome back to another one of my videos so today I'm going to be showing you how to basically do a material swap on your VR chat Avatar this is basically where you can switch your full body textures from one set to another set by the 3.0 menu also before starting today's video I wish you all merry Christmas and happy holidays I hope you guys are doing well and let's get on with the video so of course what you want to do first is you want to drag in your second set of Textures in unity and you want to make a material next click on your avatar on the controller on the right side select this and then select the yeah this one on layers you're going to go plus scroll down and create a layer let's call it material Swap and you want to copy this name because it's important that you use this name everywhere else click on this little gear here and set the way to one go parameters Plus boom scroll down and you're going to name it the same now select your avatar go animation click this little window here create new clip material swap on save now you're going to basically hit the record button go back on your project and now basically drag your textures here on play and hit preview so here we're basically doing the same thing you're going to go create new clip but this time we're going to name it material swap off and now before hitting the play the record button make sure you go ahead and find your body textures the main textures of your avatar and once you've found fine and once you find the material that you're looking for of your main body textures go back onto the animation hit the play button and now drag a set of other random textures that's not your body textures and then drag your body textures this is basically this is basically tricking the animation into thinking that you're trying the material swap onto a different material but you're actually swapping it with your main material we will have that enabled here so hit the red button and then preview now we're going to go back on our animator on the layer and basically go ahead and find where the animations are so we're going to start off with Material off and then material on make Transition right click made transition do the back select a little arrow has exit is off extend the settings make sure it's zero and then conditions instead of new float material Swap and then true do the same thing on the other Arrow zero condition material swap but this time it's going to be false select your avatar scroll down go parameters select the parameter scroll up add make the new material swap click your avatar again but now we'll go but now go on the Expressions menu add material swap toggle parameters material swap and now as you can see in game if you go to your Expressions menu and material swap you can see that your missions and materials are now swapped into that and to just go back you want to just hit it again and you have your default body textures if you have multiple materials on your avatar like let's say the noodles or the fluff or any extra bits then you basically can do the same thing while the animation is active when you drag your this the second materials onto your avatar just go ahead and grab the rest of the materials and then just you know select it on the fluff select it on the eyes or any kind of place that that it's required that's it for today's tutorial I hope you guys enjoyed again hope you have nice holidays and I shall see you around
Info
Channel: 20Nik
Views: 12,651
Rating: undefined out of 5
Keywords:
Id: QpM76U7TfNk
Channel Id: undefined
Length: 3min 53sec (233 seconds)
Published: Sun Dec 25 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.