How to Swap VRoid VRM textures with blendshapes in Unity

  Рет қаралды 28,541

Suvidriel

Suvidriel

Күн бұрын

Пікірлер: 116
@geoterra9478
@geoterra9478 2 жыл бұрын
I swear you are the only person on KZbin who has made this tutorial. Thank you!!
@Suvidriel
@Suvidriel 2 жыл бұрын
It's an old gamedev trick I learned years ago when working on some game projects
@XOrdinary99
@XOrdinary99 4 жыл бұрын
Two days ago I worked this out by experimenting. Today I discovered you documented how to do this MONTHS ago. Subscribed now ;-)
@lilyportan9915
@lilyportan9915 4 жыл бұрын
Wow this is exactly what I was looking for! Thank you for being so helpful and creating these tutorials!
@BTOptimizer
@BTOptimizer 2 жыл бұрын
How did I not find this until now?! Thank you so much Suvi!!!! Since the VRoid Stable update, my initial way of doing blush and tears has since become troublesome (I would use separate hair files). This saves me so much more time!
@izanagiroo
@izanagiroo Жыл бұрын
Exactly what I needed and worked like a charm, thanks so much!
@ShujiWakahisa
@ShujiWakahisa 4 жыл бұрын
Oh wowza! I had no idea you could make a new blend shape / emotion face nor did I know this was possible :o Thank you so much!!!
@antto9218
@antto9218 3 жыл бұрын
i found it really usefull, as i couldn't find any way to do this by myself i just duplicated the face and added there just the blush and place it with a bit of off setin front of the actual face, it works but it is way more efficient to do it like you said
@PriestessOfDada
@PriestessOfDada 2 жыл бұрын
Hey suvi, thanks for the refresher
@absoluteunit30
@absoluteunit30 2 жыл бұрын
Just what I was looking for. Thank you, this helped me a lot.
@stellad1v4-aivtuber21
@stellad1v4-aivtuber21 3 жыл бұрын
Thank you for helping Stella with this!
@katiekaliber
@katiekaliber 3 жыл бұрын
This was so helpful, tysm
@OneWebDesigner
@OneWebDesigner 3 жыл бұрын
Thank you, I had to sub. Plan to do my own and know absolutely nothing after buying 2 avatars from people.. :o Thanks again!
@starryskies279
@starryskies279 3 жыл бұрын
Thank you for the tutorial! Can you do these for the eye textures too?
@Suvidriel
@Suvidriel 3 жыл бұрын
Yes you can~ Just make sure to use the "Is Binary"-checkbox in blendshape settings to make the transition instant.
@alexisross9343
@alexisross9343 4 жыл бұрын
oooooo Okay this is going to be interesting to play with, especially if other objects can be swapped out too.
@Suvidriel
@Suvidriel 4 жыл бұрын
Yea you can adjust texture coordinates of all the materials so even those of accessories as long as your accessory is using the MToon-shader. If you use Unity default shader then you can adjust whatever properties that shader offers - can't remember if it had texture coordinates
@eleriivt
@eleriivt 3 жыл бұрын
Thank you for the tutorial, going to give it a try!!
@aramellonvods
@aramellonvods 2 жыл бұрын
Thank you so much! This was a very good and straight forward tutorial! Immediate subscribe!
@eynwoo3365
@eynwoo3365 Жыл бұрын
Thank you very much ! It helps me a lot!!
@MasterAkiDraw
@MasterAkiDraw 2 жыл бұрын
Thanks so much for this! This is amazing!
@VenusVariation
@VenusVariation Жыл бұрын
i dont understtand for some reason ALL my faces are the same face with the toggle expression i think i did something wrong ;(
@CherryBGD
@CherryBGD 2 жыл бұрын
Thank you so much!
@eristhanewood
@eristhanewood Жыл бұрын
would it be possible to have a tatoo that is basically a number that counts up with every button press?
@Kei_DGPH
@Kei_DGPH 3 жыл бұрын
Thank you for these tutorials. You helped me a lot ^_^ also I really love your accent
@Mixypup
@Mixypup 2 жыл бұрын
Thank you so much for this tutorial!!!
@ZoeXspecturm4698
@ZoeXspecturm4698 4 ай бұрын
first tutorial I found showing how to actually do this. I thought there would be more work in blender/vroid and was getting frustrated.
@Suvidriel
@Suvidriel 4 ай бұрын
This is a very old game development technique. Alternative methods are to scale parts of mesh to be visible. If you're working with vsfavatar-format then you could also actually animate material swaps
@ZoeXspecturm4698
@ZoeXspecturm4698 4 ай бұрын
@@Suvidriel thanks! Its just i couldn't find how to do it 😓
@SpensPens
@SpensPens Жыл бұрын
I'll be trying this out to see if it'll convert to mmd as well as the regular expressions do
@Suvidriel
@Suvidriel Жыл бұрын
This is a very vrm-specific mechanic so likely will not convert to mmd
@starryskies279
@starryskies279 3 жыл бұрын
3:09 Is the limit on how many customizable expressions you can do only up to four?
@Suvidriel
@Suvidriel 3 жыл бұрын
Nope. Unity supports up to 8k textures. You can even fit in more if you lower the quality of each face
@crymouse
@crymouse 3 жыл бұрын
can you do this but with maybe eyes? like if I wanted to make an expression that was making an 'XD" face, how would I do that? I am also using a male model, so I am unable to edit the blendshapes to find the hidden extra eye expression that comes with the female models. I am at a loss of how I can do this facial expression without having to scrap my male model and remake him as a girl.
@Suvidriel
@Suvidriel 3 жыл бұрын
it might be easier to add overlaying plane on top of the eyes if you want to add the XD-face
@crymouse
@crymouse 3 жыл бұрын
@@Suvidriel how would I be able to do that? what's an overlaying plane?
@Suvidriel
@Suvidriel 3 жыл бұрын
@@crymouse You could either model one in blender or add a quad in unity and place it in front of the eyes with that X-texture
@crymouse
@crymouse 3 жыл бұрын
@@Suvidriel is there anyway I could get the texture from the female model? VRoid has the exact eyes I want but they’re only available for female models. I tried to see if I could copy the blend shape but it didn’t work as I thought it would.
@Suvidriel
@Suvidriel 3 жыл бұрын
@@crymouse The eyes are done using a quad that moves in front of the eyes. The male model is completely missing the shape keys (possibly even the geometry) for the movement so it's not possible to copy the blendshape
@suziantress5574
@suziantress5574 2 жыл бұрын
Is there a way to do this with the eyes since the eyes are in a different size
@Suvidriel
@Suvidriel 2 жыл бұрын
Same thing applies.
@Rexieh
@Rexieh 3 жыл бұрын
Thank you for this tutorial!! I was wondering, could use this method to create different mouth expressions and then make it trackable?
@Suvidriel
@Suvidriel 3 жыл бұрын
Depends on the tracker you're using. In VSeeFace you can override the default expressions with custom ones if you want to track them - alternatively you can always use hotkeys. However, lipsync can be a bit problematic since it'll try to merge multiple blendshapes
@Rexieh
@Rexieh 3 жыл бұрын
@@Suvidriel I see! Thank you for the info!
@xXLittleRunoXx
@xXLittleRunoXx 2 жыл бұрын
this was nice and easy explained :D i could finish some angry expression very fast....im lacking into those coordinates....i've found the first face of my cube but i cannto find the rest of them ._. any tips?
@Suvidriel
@Suvidriel 2 жыл бұрын
basically divide 1 by the amount of textures on the axis to find the size of each texture. That's how much to add to the offset for each texture so for a 4x4 texture the size is 0.25 so the third texture would be at 0.5
@kariix3909
@kariix3909 2 жыл бұрын
This sounds logic 🤦‍♀️ Thx for answering ❤️ Gonna try it out after work. 😊
@BigRaikou
@BigRaikou Жыл бұрын
so I've been using this method for a while now, but just tried applying it to my whole body texture to swap out a lingerie tex. It works fine in unity, but when exported the texture swap doesn't work? any suggestions?
@Suvidriel
@Suvidriel Жыл бұрын
It might be a bit tricky to use it for the full body tbh. I'd almost recommend using a shader like poiyomi and then combining it with VSFAvatar-format as you can animate material swaps with that
@TheNerdyNeko
@TheNerdyNeko 2 жыл бұрын
Thank you for this tutorial! I am having an issue however with it nowadays when trying to make an alternate outfit where the new blendshapes do not show up in VseeFace? Maybe it's because I made the model with the stable Vroid release instead of the Beta?? IDK. Can anyone help pls? Thank you in advance!
@itskiggu
@itskiggu 3 жыл бұрын
What are the advantages of your custom mtoon shader over this? I want to add extra extra face textures but I'm thinking of using this method so that I can potentially use the other face textures in apps other than vseeface.
@Suvidriel
@Suvidriel 3 жыл бұрын
The only advantage really is that this works with vrm-compatible apps while the other one works only with vseeface, vrchat and custom unity solutions. This method only supports instant texture swap so no smoothing at all.
@TheKindredblue
@TheKindredblue 2 жыл бұрын
Suvi, what would I do if I'm trying to blendshape clothes with different templates? For example, I'm trying to do this technique but for 2 hoodies, 1 inner top, and a dress.
@XTwoHandzX
@XTwoHandzX 3 жыл бұрын
is it possible to do this for eye and face textures at the same time? so for the yandere face for example the eyes would go dull as well at the same time?
@Suvidriel
@Suvidriel 3 жыл бұрын
yes you can add multiple materials in the blendshape clip
@LittleMissVampy
@LittleMissVampy 2 жыл бұрын
@@Suvidriel Would you go about it the same way then?
@KAMShow-se9qd
@KAMShow-se9qd 3 жыл бұрын
Amazing tutorial thank you so much, could you please make a tutorial on how to do the same thing in blender? or show us how to swap between meshes with blendshapes/shape keys? (like the same model but taller or modified both exported from vroid)thank you very much keep up the good work
@Suvidriel
@Suvidriel 3 жыл бұрын
Changing the height of the model with shape keys likely will not give too great results as shape keys do not move around the bones- only the vertices Shape keys also do not move texture coordinates so if you wanted to make changes to the face using shape keys you'd need to create duplicated geometry and move those into view - take a look at the "Extra"-shape key of vroid base female model as that moves the crossed eye-layer from inside the head to the front of the eyes
@Sizra
@Sizra 3 жыл бұрын
would it be the same thing with eyes? i see some people toggle the eyes of their vroid to have stars.
@Suvidriel
@Suvidriel 3 жыл бұрын
Yes you can. Check some of the previous comments about it if you need more help :) I'd recommend vseeface sdk and the modified mtoon shader from one of the newer tutorials though.
@mattoryu
@mattoryu 2 жыл бұрын
So I followed the tutorial and it works as intended however, I want to get rid of the transitions completely because I can still see the texture shifting even with VSeeFace transtions set to 0. Is there a way to make it so blendshapes take no transtiion time in Unity?
@Suvidriel
@Suvidriel 2 жыл бұрын
You can set the is binary-flag on for the blendshape
@mattoryu
@mattoryu 2 жыл бұрын
TYSM!!!! Its exactly how I wanted it! You are amazing!
@chickishot8172
@chickishot8172 4 жыл бұрын
Is there a way to make swapping textures like you did with the face (I plan on eye color) as a shape key using blender? There is a certain program I use my VRoid model in but only shape keys show up not blendshapes. Thank you again for another awesome tutorial!
@Suvidriel
@Suvidriel 4 жыл бұрын
Sadly uv-maps don't seem to be affected by shape keys. One alternative is to have geometry scaled down inside the head and in shape key move it to the correct spot. This is how the extra-shape key is done for vroid default models.
@chickishot8172
@chickishot8172 4 жыл бұрын
@@Suvidriel That’s actually a really good idea to move it out kinda like you did with the tongue shape key tutorial. I’m still very new to blender so I’m not sure how to copy the eye part with a different texture. I understand how to move it out and make it a shape key though. Would the eye still track with the texture on it or would it stay in the same spot then if the eye moves it looks like I have two eye irises on one eye?
@Suvidriel
@Suvidriel 4 жыл бұрын
@@chickishot8172 Hmm haven't tried tbh. I think there may be eye-bones so copying the weights might do it
@chickishot8172
@chickishot8172 4 жыл бұрын
@@Suvidriel I do believe there are eye bones, but a little confused about copying the weights over. Haven’t really messed with weights except for the plugin for unity that allows for bones and the weight of bones to be transferred from one body part to another. Also not sure if that would allow it to follow the eyes or not if I did do that. Thank you for the advice though. 🙂
@Suvidriel
@Suvidriel 4 жыл бұрын
@@chickishot8172 The weights need to be done in Blender. It may be possible to copy the current eye geometry and retain the weights too - haven't tested. Even if it wasn't the weight painting of the copied eyes should be relatively simple.
@arahabaki9325
@arahabaki9325 2 жыл бұрын
Hey Suvi! Awesome tutorial as always! I do have a question regarding exporting, though. I don't have the "base", if that's the right term. You know, skin-colored layered. When I export, it exports completely transparent(and the lines I drew on VRoid) and that's it. I noticed this while creating my character a few months ago while exporting for some clothing adjustment. It wasn't that big of a deal, but in this format, I kinda feel like it does, especially in Photoshop, I can only copy the non-transparent space. How can I fix that?
@Suvidriel
@Suvidriel 2 жыл бұрын
When you export your model as vrm it should combine all the face layers into one merged texture. You'll get access to it when you import the vrm to unity
@arahabaki9325
@arahabaki9325 2 жыл бұрын
@@Suvidriel Okay, I'll try it in a few minutes. Thank you much for the quick response!
@Jihe_
@Jihe_ 3 жыл бұрын
im sorry if im stupid but is there a way to do this but with the use of a blender model?
@Suvidriel
@Suvidriel 3 жыл бұрын
Depends entirely on how the face is textured. If the face is in its own texture then you should be able to follow this tutorial just fine. You'd just need to draw the additional face textures in either blender or in photoshop instead of vroid. If, however, the face texture is already part of a texture atlas then it may get trickier or even very difficult due to the already big size of the texture atlas image.
@ZodiacCloud
@ZodiacCloud 3 жыл бұрын
is there a way to stop the quality from lowering? I did this method for the body texture on my model but the texture get's blurrier :')
@Suvidriel
@Suvidriel 3 жыл бұрын
Try adjusting the texture's size and compression settings in Unity
@ZodiacCloud
@ZodiacCloud 3 жыл бұрын
@@Suvidriel AH tysm! that's better! I have it on 'none' and it helped but the texture is still smoother than it was previously when it was a singular texture/has a different look to it than it did when it was a single texture ? so idk how I'd fix that- :')) aaa-
@Blockistium
@Blockistium 3 жыл бұрын
Do you have a tutorial on using this method to swap clothes?
@Suvidriel
@Suvidriel 3 жыл бұрын
If the clothes are just different textures for the same outfit model then you can use the exact same method
@Blockistium
@Blockistium 3 жыл бұрын
​@@Suvidriel How about models?
@Suvidriel
@Suvidriel 3 жыл бұрын
@@Blockistium For models you could use the vearDresser tutorial to add multiple different outfit models. Then just use alpha to show/hide clothes in the blendshapes
@hugesoxfan50
@hugesoxfan50 2 жыл бұрын
@@Suvidriel What would you do if the outfit models are different?
@Suvidriel
@Suvidriel 2 жыл бұрын
@@hugesoxfan50 You could build all the outfits on same avatar and swap visibility or wait until my new vtuber app gets released as it has model swap function
@Kaithew
@Kaithew 2 жыл бұрын
how do you do it on eye texture?
@Suvidriel
@Suvidriel 2 жыл бұрын
Same way pretty much. The eye texture has different dimensions but it works the same so double the canvas size etc
@Kaithew
@Kaithew 2 жыл бұрын
@@Suvidriel Will it be possible to have it a tutorial? Tried looking else where and no one can do it.. I tried your advice its just its kinda hard to measure :((
@Kaithew
@Kaithew 2 жыл бұрын
@@Suvidriel tnx for the reply tho
@Suvidriel
@Suvidriel 2 жыл бұрын
@@Kaithew If you're using VSeeFace I'd almost recommend checking the multitexture shader tutorial I did last year. It allows smooth transition between different textures
@Kaithew
@Kaithew 2 жыл бұрын
@@Suvidriel Yes I do! I'm gonna check it out!
@IBubblesTV
@IBubblesTV 3 жыл бұрын
You can do this with the eyes right? I know you said at the end it's the same I'm just confused haha
@Suvidriel
@Suvidriel 3 жыл бұрын
You can. However, if you're using VSeeFace I recommend you use the custom MToon shader from my latest tutorial instead
@southernbelleenvtuber7671
@southernbelleenvtuber7671 4 жыл бұрын
THANK YOU THANK YOU THANK YOU AHHHHHHH
@anubisrage2397
@anubisrage2397 5 ай бұрын
2 thanks, one day
@rattus7881
@rattus7881 2 жыл бұрын
You can do this with eyes but it's has a bit more steps
@Suvidriel
@Suvidriel 2 жыл бұрын
Tbh these days you should use a shader that supports smooth transition of textures and then just use the vsfavatar-format instead
@ZexMaxwell
@ZexMaxwell 2 жыл бұрын
Good tutorial. But the epic music overpowered your voice
@Suvidriel
@Suvidriel 2 жыл бұрын
Thanks. There's a bit more updated tutorial about this topic which does it using shaders. If you're using VSeeFace I recommend checking that one out instead.
@Akiko-lx6yw
@Akiko-lx6yw 4 жыл бұрын
Thank you. Very wonderful tutorial. Unfortunately setting a blendshape to binary in programs that don't have transition settings makes the transition instant, meaning that other features like the brows, eyes and mouth teleport to a new location and look buggy )=
@Suvidriel
@Suvidriel 4 жыл бұрын
That's true. The alternative is to do 2 blendshapes. One for the texture swap and another for the parts that need to be smooth. However, then you need to use 2 hotkeys in the tracker
@XOrdinary99
@XOrdinary99 4 жыл бұрын
I hacked the MToon shader in UniVRM and got blends to work so you can fade between two textures. Only took a few lines of code. But it would not work in other apps, just Unity. The approach above should work in any VRM compatible app.
@Suvidriel
@Suvidriel 4 жыл бұрын
@@XOrdinary99 Custom shaders with some lerp should work well but you'll need a tracker that supports it. VSeeFace will be getting this support at some point
@XOrdinary99
@XOrdinary99 4 жыл бұрын
@@Suvidriel I am not a VTuber - I am exploring using Unity and VRoid to create an animated comic. But it would be great if there was a standard way to do this in the future. I look forward to that video!
@-hero-5882
@-hero-5882 9 ай бұрын
❤❤❤❤
@estebanesquizofrenico6818
@estebanesquizofrenico6818 4 жыл бұрын
Me salio blanca la cara :(
@activemotionpictures
@activemotionpictures 3 жыл бұрын
You say you can swap out the clothes? With MATERIAL? but how? it's a mesh. Can you change MESHES with expressions? Oh? Blendshape an entire outfit?!
@Suvidriel
@Suvidriel 3 жыл бұрын
There are few ways. If your clothes are using the same mesh template, say vroid's dress, then you can simply swap the texture around for a new outfit. If you want to try something hackier you can actually duplicate the body-node in unity, assign a different outfit mesh and then swap those around with blendshape clips (works with univrm 0.62 but not really with newer ones), although I'd highly recommend vseeface avatars format instead of vrm at that point since then you can animate the active-state of the clothes and thus prevent them from rendering at all
@lamarwealthchild6199
@lamarwealthchild6199 4 жыл бұрын
I have the volume all the way up!... and i can still barely hear what you are saying. there is way too much info or explanation you are leaving out between steps so telling people to go watch other videos for most of the required info for this tutorial makes no sense
@Suvidriel
@Suvidriel 4 жыл бұрын
The other video I'm refering to was basically showing how to create a new Unity project and drag in the UniVRM asset package. Detailing that specific step in every video would make these tutorials sadly a bit too long and repetitive. The video in question is linked in the description. This is a more advanced tutorial so I highly recommend you check out the earlier parts in the series first if you're new to Unity to familiarize yourself with the tools.
@katiekaliber
@katiekaliber 3 жыл бұрын
The other video is the base info that you need in order to understand this video so yes, it does make sense. I started learning this stuff 2 days ago and i understand what they are saying, just need to rewind the video sometimes because of me being new to unity and 3d in general. Also the volume is just fine, i really don't know what you're complaining about but these all seem your issues of not wanting to learn a program in order. They did a great job with the video. Go learn a bit more about unity and VRM and then come back, it will make sense.
How to Make VRM model sit in Unity/VSeeFace
5:51
Suvidriel
Рет қаралды 9 М.
3 ways how to add accessories to VRoid VRM models in Unity
13:18
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Quick Tip: Using an FBX as a VRM
3:28
Kaideart
Рет қаралды 18 М.
How to make your Vroid Glow!
7:07
ArgamaWitch
Рет қаралды 16 М.
FREE Hana Tool Alternative! - Add More Expressions on Your VRoid Model! (NEB)
11:43
ReForge Mode - Unity Tutorials
Рет қаралды 22 М.
How To Make Outfit And Avatar Redeem/Toggles In Warudo!!!
18:46
Accessory animations for VSeeFace avatars in Blender
17:10
Suvidriel
Рет қаралды 11 М.
VroidStudio - Unity - Floppy animal ears!
3:56
Lady Aska
Рет қаралды 4,9 М.
From Blender to VRM: Prepare your own Vtuber Model
8:34
Priichu
Рет қаралды 230 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН