- Fix envmap on plaster in VBSP compiles

Sat, 24 Sep 2016 22:42:30 -0600

author
Glitchvid <Glitchvid@glitchvid.com>
date
Sat, 24 Sep 2016 22:42:30 -0600
changeset 59
9f5d4bbd1262
parent 58
8d6c578d6676
child 60
e6a59a23c72d

- Fix envmap on plaster in VBSP compiles

materials/glitchvid/plaster/cleanplaster_black.vmt file | annotate | diff | comparison | revisions
materials/glitchvid/plaster/cleanplaster_blue.vmt file | annotate | diff | comparison | revisions
materials/glitchvid/plaster/cleanplaster_orange.vmt file | annotate | diff | comparison | revisions
materials/glitchvid/plaster/cleanplaster_white.vmt file | annotate | diff | comparison | revisions
--- a/materials/glitchvid/plaster/cleanplaster_black.vmt	Fri Sep 23 22:42:09 2016 -0600
+++ b/materials/glitchvid/plaster/cleanplaster_black.vmt	Sat Sep 24 22:42:30 2016 -0600
@@ -1,12 +1,13 @@
-patch
+"LightmappedGeneric"
 {
-	include "materials/glitchvid/plaster/cleanplaster_base.vmt"
-	insert
-	{
-		"$basetexture"	"glitchvid/plaster/cleanplaster_black"
-		"$envmaptint"	"[ 0.15 0.15 0.15 ]"
-		"$envmapcontrast"	"0.5"
-		"$envmapsaturation" "1"
-//		"%notooltexture"	// Unhides from mat view
-	}
-}
\ No newline at end of file
+	"$basetexture"			"glitchvid/plaster/cleanplaster_black"
+	"$bumpmap" 				"glitchvid/plaster/plaster_normalmap"
+	"$envmap" 				"env_cubemap"
+	"$normalmapalphaenvmapmask"	"1"
+	"$envmaptint"			"[ 0.15 0.15 0.15 ]"
+	"$envmapcontrast"		"0.5"
+	"$envmapsaturation"		"1"
+	"$surfaceprop"			"plaster"
+	"$detail"				"glitchvid/detail/plaster_detail_2"
+	"$detailscale" 			"5"
+}
--- a/materials/glitchvid/plaster/cleanplaster_blue.vmt	Fri Sep 23 22:42:09 2016 -0600
+++ b/materials/glitchvid/plaster/cleanplaster_blue.vmt	Sat Sep 24 22:42:30 2016 -0600
@@ -1,11 +1,11 @@
-patch
+"LightmappedGeneric"
 {
-	include "materials/glitchvid/plaster/cleanplaster_base.vmt"
-	insert
-	{
-		"$basetexture" 	"glitchvid/plaster/cleanplaster_blue"
-		"$envmaptint"	"[ 0.25 0.26 0.28 ]"
-		"$reflectivity"	"{0 348 510}" // this value is doubled
-//		"%notooltexture"	// Unhides from mat view
-	}
-}
\ No newline at end of file
+	"$basetexture" 	"glitchvid/plaster/cleanplaster_blue"
+	"$bumpmap" 			"glitchvid/plaster/plaster_normalmap"
+	"$envmap" 			"env_cubemap"
+	"$normalmapalphaenvmapmask"	"1"
+	"$envmaptint"	"[ 0.25 0.26 0.28 ]"
+	"$surfaceprop"			"plaster"
+	"$detail"				"glitchvid/detail/plaster_detail_2"
+	"$detailscale" 			"5"
+}
--- a/materials/glitchvid/plaster/cleanplaster_orange.vmt	Fri Sep 23 22:42:09 2016 -0600
+++ b/materials/glitchvid/plaster/cleanplaster_orange.vmt	Sat Sep 24 22:42:30 2016 -0600
@@ -1,11 +1,11 @@
-patch
+"LightmappedGeneric"
 {
-	include "materials/glitchvid/plaster/cleanplaster_base.vmt"
-	insert
-	{
-		"$basetexture"	"glitchvid/plaster/cleanplaster_orange"
-		"$envmaptint"	"{204 68 30}"
-		"$reflectivity"	"{382 166 0}" // this value is doubled
-//		"%notooltexture"	// Unhides from mat view
-	}
-}
\ No newline at end of file
+	"$basetexture"		"glitchvid/plaster/cleanplaster_orange"
+	"$bumpmap" 			"glitchvid/plaster/plaster_normalmap"
+	"$envmap" 			"env_cubemap"
+	"$normalmapalphaenvmapmask"	"1"
+	"$envmaptint"		"{204 68 30}"
+	"$surfaceprop"			"plaster"
+	"$detail"				"glitchvid/detail/plaster_detail_2"
+	"$detailscale" 			"5"
+}
--- a/materials/glitchvid/plaster/cleanplaster_white.vmt	Fri Sep 23 22:42:09 2016 -0600
+++ b/materials/glitchvid/plaster/cleanplaster_white.vmt	Sat Sep 24 22:42:30 2016 -0600
@@ -1,9 +1,11 @@
-patch
+"LightmappedGeneric"
 {
-	include "materials/glitchvid/plaster/cleanplaster_base.vmt"
-	insert
-	{
-		"$basetexture"	"glitchvid/plaster/cleanplaster_white"
-//		"%notooltexture"	"0"	// Unhides from mat view
-	}
-}
\ No newline at end of file
+	"$basetexture"	"glitchvid/plaster/cleanplaster_white"
+	"$bumpmap" 			"glitchvid/plaster/plaster_normalmap"
+	"$envmap" 			"env_cubemap"
+	"$normalmapalphaenvmapmask"	"1"
+	"$envmaptint" 			"[ 0.25 0.25 0.25 ]"
+	"$surfaceprop"			"plaster"
+	"$detail"				"glitchvid/detail/plaster_detail_2"
+	"$detailscale" 			"5"
+}

mercurial