DigitalEro Offline

[SFM] Creating animsets for material attributes

Sat, 03 May 2014 03:36:10


I recently got a pm about one of my old animations where I made a character progressively "sweaty" by creating an animset for a material attribute, so this is how I did it. I'll use my Ezio x Lann animation from AllGayArt [center:367cd4nh][/center:367cd4nh] I'll make Ezio sweaty. Right click your animset and select "add override materials" [center:367cd4nh][/center:367cd4nh] Right click the animset again and select "show in element viewer" > "Model" [center:367cd4nh][/center:367cd4nh] In the element viewer at the bottom you'll see "materials" an if you expand that you'll get all the materials the model uses. [center:367cd4nh][/center:367cd4nh] Depending on the model it may have 1 2 or 5 materials for the body, Ezio has 2. so for the materials "Ezio_face" and "footmale" I'll need to add the $phongboost attribute. Simply right click the material > add attribute > float [center:367cd4nh][/center:367cd4nh] Then name it $phongboost [center:367cd4nh][/center:367cd4nh] $phongboost should show up in the group of the material you selected and it will default to 0 [center:367cd4nh][/center:367cd4nh] now you can put in whatever value you want, and depending on the model you may need a higher number. set the number too low and the model will get a weird black glow. [center:367cd4nh][/center:367cd4nh] Set it too high and you get a metallic silver surfer look. [center:367cd4nh][/center:367cd4nh] So using just the right amount will take some playing around. [center:367cd4nh][/center:367cd4nh] To create an animset for the attribute just right click the material name > "create animset for element" [center:367cd4nh][/center:367cd4nh] Set the range for the controllers [center:367cd4nh][/center:367cd4nh] and you're done! [center:367cd4nh][/center:367cd4nh]
Sat, 03 May 2014 10:41:58


Very nice tutorial, will have to test this myself sometime :)
Sat, 03 May 2014 14:24:05


In that same method is it possible to create shadows(for models who doesnt have) which it would be possible to edit by AO sliders?
Sat, 03 May 2014 17:16:02


Shadows are entirely light related so you can't really edit them in the element viewer. But the AO, that can be edited through the camera animationset.
Sun, 04 May 2014 10:31:36


I don't see animation set for materials I can't change values after I "create" animset. But changing value of phongboost before creating animset works fine
Sun, 04 May 2014 16:39:36


i forgot a little snippet of info, If you have scene hierarchy on then the animsets will be hidden, just uncheck "show scene hierarchy" and the should show up. [center:85fujupz][/center:85fujupz]