-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed ability to color the texture
Removed diffuse modulation support for vehicle glass and van interior textures to avoid them being accidentally painted when giving color to the vehicles. This happens in some retail campaigns like c1m2, and in c5m5. More common in custom campaigns.
- Loading branch information
Showing
7 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
VertexLitGeneric | ||
{ | ||
$baseTexture "models\props_vehicles/4carz1024_glass" | ||
$bumpmap "effects\flat_normal" | ||
$translucent 1 | ||
$allowdiffusemodulation 0 | ||
$envmap env_cubemap | ||
$envmaptint "[.8 .8 .8]" | ||
|
||
|
||
$basemapalphaenvmapmask 1 | ||
$envmapfresnel 1 | ||
$invertphongmask 1 | ||
$halflambert 1 | ||
$phong 1 | ||
$phongexponent 500 | ||
$phongboost 1 | ||
$phongfresnelranges "[.3 .6 4]" | ||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
VertexLitGeneric | ||
{ | ||
$baseTexture "models\props_vehicles/car_glass" | ||
$allowdiffusemodulation 0 | ||
$envmap env_cubemap | ||
$envmapmask "models\props_vehicles\car_glass_ref" | ||
$envmaptint "[.65 .65 .65]" | ||
$envmapcontrast ".5" | ||
$envmapsaturation ".5" | ||
} |
21 changes: 21 additions & 0 deletions
21
root/materials/models/props_vehicles/flatnose_truck_glass.vmt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
VertexLitGeneric | ||
{ | ||
$baseTexture "models\props_vehicles/flatnose_truck_glass" | ||
$allowdiffusemodulation 0 | ||
$translucent 1 | ||
$model 1 | ||
|
||
|
||
|
||
|
||
|
||
|
||
$envmap env_cubemap | ||
$envmaptint "[ .6 .6 .6 ]" | ||
|
||
$envmapfresnel 1 | ||
$envmapfresnelMinMaxExp "[0.2 5 2]" | ||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
VertexLitGeneric | ||
{ | ||
$baseTexture "models\props_vehicles/hmmwv_glass" | ||
$allowdiffusemodulation 0 | ||
$translucent 1 | ||
$envmap env_cubemap | ||
$envmaptint "[.8 .8 .8]" | ||
$basemapalphaenvmapmask 1 | ||
$envmapfresnel 1 | ||
$invertphongmask 1 | ||
$halflambert 1 | ||
$phong 1 | ||
$phongexponent 500 | ||
$phongboost 1 | ||
$phongfresnelranges "[.3 .6 4]" | ||
} |
17 changes: 17 additions & 0 deletions
17
root/materials/models/props_vehicles/pickup_trucks_glass.vmt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
VertexLitGeneric | ||
{ | ||
$baseTexture "models\props_vehicles/pickup_trucks_glass" | ||
$allowdiffusemodulation 0 | ||
$bumpmap "effects\flat_normal" | ||
$translucent 1 | ||
$envmap env_cubemap | ||
$envmaptint "[.8 .8 .8]" | ||
$basemapalphaenvmapmask 1 | ||
$envmapfresnel 1 | ||
$invertphongmask 1 | ||
$halflambert 1 | ||
$phong 1 | ||
$phongexponent 500 | ||
$phongboost 1 | ||
$phongfresnelranges "[.3 .6 4]" | ||
} |
18 changes: 18 additions & 0 deletions
18
root/materials/models/props_vehicles/police_cab_city_glass.vmt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
VertexLitGeneric | ||
{ | ||
$baseTexture "models\props_vehicles/police_cab_city_glass" | ||
$allowdiffusemodulation 0 | ||
$bumpmap "effects\flat_normal" | ||
$translucent 1 | ||
$envmap env_cubemap | ||
$envmaptint "[.8 .8 .8]" | ||
$envmapfresnel 1 | ||
$envmapFresnelMinMaxExp "[.1 2 3]" | ||
$basemapalphaenvmapmask 1 | ||
$invertphongmask 1 | ||
$halflambert 1 | ||
$phong 1 | ||
$phongexponent 500 | ||
$phongboost 1 | ||
$phongfresnelranges "[.3 .6 4]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
VertexLitGeneric | ||
{ | ||
$baseTexture "models\props_vehicles/van_interior" | ||
$allowdiffusemodulation 0 | ||
} |