Skip to content

Commit

Permalink
Fixed destroyed tanker's tint
Browse files Browse the repository at this point in the history
The front part of the destroyed tanker would get tinted with the truck, so $allowdiffusemodulation 0 was added to prevent it.
  • Loading branch information
skesssler committed Apr 24, 2022
1 parent e230d76 commit fe1d73d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions root/materials/models/destruction_tanker/destruction_tanker.vmt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
VertexLitGeneric
{
$baseTexture "models\destruction_tanker\destruction_tanker_trailer"
$allowdiffusemodulation 0
$detail "models\destruction_tanker\destruction_tanker_trailer_detail"
$detailscale 1
$surfaceprop metal
$model 1
$phong 1
$phongboost 2
$phongexponent 30
$phongfresnelranges "[.6 1 2]"
$envmap env_cubemap
$envmaptint "[ .5 .5 .5 ]"
$basemapalphaphongmask 1
$basealphaenvmapmask 1
$detailblendmode 0



}

0 comments on commit fe1d73d

Please sign in to comment.