-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmouth.vmt
53 lines (48 loc) · 2.31 KB
/
mouth.vmt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
"VertexlitGeneric"
{
//////////////////////////////////////////////////////////////////////////////////
// Mouth
// a generic toon-like mouth material for models that doesn't have a mouth by default
// and I have added flexes for them
//
// By: Davi (Debiddo) Gooz
//////////////////////////////////////////////////////////////////////////////////
$model "1" // the character is a model
$nodecal "0" // allow decals on at inner mouth
$nocull "0" // allow the model to cull
$alphatest "0" // no, we dont need alpha
$translucent "0" // no, we dont need translucent
$blendtintbybasealpha "0" // we'll no blend tint by default
$allowalphatocoverage "0" // there is no alpha, so there is no reason to use it
$halflambert "1" // this will make sure the minimum light is 0.5 instaed 0
$basemapalphaphongmask "1" // $basetexture Alpha channel as phong mask, necessary to enable $phong
$surfaceprop "flesh" // althrough is broken, we set it here in case gmod fix it someday
//////////////////////////////////////////////////////////////////////////////////
// The Basics
// maybe you wanna change the lightwarp to match you character lightwarp
//////////////////////////////////////////////////////////////////////////////////
$basetexture "shared/generic_mouth" // the Albedo texture (The Surface Colors)
$lightwarptexture "shared/lightwarp_toon" // 1D ramp for NPR
//////////////////////////////////////////////////////////////////////////////////
// Ensure there is nothing at this parameters
//////////////////////////////////////////////////////////////////////////////////
$bumpmap ""
$phongexponenttexture ""
$phongwarptexture ""
$detail ""
//////////////////////////////////////////////////////////////////////////////////
// Phong setup
//////////////////////////////////////////////////////////////////////////////////
$phong "1"
$phongboost "1.28"
$phongalbedotint "0"
$phongtint " { 222 190 180 } "
$phongalbedoboost ".98"
$phongexponent "92"
$phongexponent2 "94"
$phongexponentfactor "1.28"
//////////////////////////////////////////////////////////////////////////////////
// Rimlight cast a weird color, so I'm disabling it
//////////////////////////////////////////////////////////////////////////////////
$rimlight "0"
}