Skip to content

Commit

Permalink
Fixed incorrect normal map
Browse files Browse the repository at this point in the history
Sacrifice tank used the wrong normal map, leading to shading issues mostly on his legs
  • Loading branch information
skesssler committed Oct 26, 2021
1 parent 5842beb commit 439f1ce
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions root/materials/models/infected/hulk/hulk_traincar_01.vmt
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
VertexLitGeneric
{
$baseTexture "models\infected\hulk/Hulk_Traincar_01"
$bumpmap "models\infected\hulk\Hulk_traincar_01_normal"
$phong 1

$phongfresnelrange_0 ".01"
$phongfresnelrange_1 ".15"
$phongfresnelrange_2 1
$phongfresnelranges "[.5 .15 1]"
$phongtint "[.8 .8 1]"
$phongboost 8
$phongexponent 6
$ambientocclusion 1
$detail "effects/burned.vtf"
$seamless_detail 1
$seamless_scale ".005"

$detailblendfactor .001
$detailblendmode 2

$bbqamount 1

$BurnLevel 0
Proxies
{
BBQLevel
{
resultVar $bbqamount
}
BurnLevel
{
resultVar $burnlevel
}
Multiply
{
srcVar1 $phongfresnelrange_0
srcVar2 $bbqamount
resultVar "$phongfresnelranges[0]"
}
Multiply
{
srcVar1 $phongfresnelrange_1
srcVar2 $bbqamount
resultVar "$phongfresnelranges[1]"
}
Multiply
{
srcVar1 $phongfresnelrange_2
srcVar2 $bbqamount
resultVar "$phongfresnelranges[2]"
}
Equals
{
srcVar1 $BurnLevel
resultVar $detailblendfactor
}
}
}

0 comments on commit 439f1ce

Please sign in to comment.