- Significant clean up of cleanplaster

Thu, 05 May 2016 21:31:38 -0600

author
glitchvid
date
Thu, 05 May 2016 21:31:38 -0600
changeset 23
43608377dcb5
parent 22
0a05f2d1b34d
child 24
c078a101870b

- Significant clean up of cleanplaster
Moves to a modular patch system, much easier to work with
- Add new plaster detail texture
- Add new metal detail texture

materials/glitchvid/detail/metal_scratches_detail.vtf file | annotate | diff | comparison | revisions
materials/glitchvid/detail/plaster_detail_2.vtf file | annotate | diff | comparison | revisions
materials/glitchvid/plaster/cleanplaster_base.vmt file | annotate | diff | comparison | revisions
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
Binary file materials/glitchvid/detail/metal_scratches_detail.vtf has changed
Binary file materials/glitchvid/detail/plaster_detail_2.vtf has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/materials/glitchvid/plaster/cleanplaster_base.vmt	Thu May 05 21:31:38 2016 -0600
@@ -0,0 +1,13 @@
+"LightmappedGeneric"
+{
+	"$basetexture"			"ERROR"
+	"$bumpmap" 			"glitchvid/plaster/plaster_normalmap"
+	"$envmap" 			"env_cubemap"
+	"$normalmapalphaenvmapmask"	"1"
+	"$envmaptint" 			"[ 0.25 0.25 0.25 ]"
+	"$surfaceprop"			"plaster"
+//	"$reflectivity" 			"[0.5 0.5 0.5]"	// VTF is doing fine automatically
+	"$detail"				"glitchvid/detail/plaster_detail_2"
+	"$detailscale" 			"5"
+// This is the "BASE" material that all other materials draw from, and then $patch
+}
\ No newline at end of file
--- a/materials/glitchvid/plaster/cleanplaster_black.vmt	Thu Apr 28 19:04:57 2016 -0600
+++ b/materials/glitchvid/plaster/cleanplaster_black.vmt	Thu May 05 21:31:38 2016 -0600
@@ -1,14 +1,12 @@
-"LightmappedGeneric"
+patch
 {
-	"$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
-	$reflectivity "[-0.05 -0.05 -0.05]"
-	"$surfaceprop" "plaster"
-//	"$detail"	"glitchvid/detail/plaster_detail_lrg"
-	"$detailscale" "7"
+	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"
+
+	}
 }
\ No newline at end of file
--- a/materials/glitchvid/plaster/cleanplaster_blue.vmt	Thu Apr 28 19:04:57 2016 -0600
+++ b/materials/glitchvid/plaster/cleanplaster_blue.vmt	Thu May 05 21:31:38 2016 -0600
@@ -1,12 +1,10 @@
-"LightmappedGeneric"
+patch
 {
-	"$basetexture" "glitchvid/plaster/cleanplaster_blue"
-	"$bumpmap" "glitchvid/plaster/plaster_normalmap"
-	"$envmap" "env_cubemap"
-	"$normalmapalphaenvmapmask" 1
-	"$envmaptint" "[ 0.25 0.26 0.28 ]"
-	"$reflectivity" "{0 348 510}" // this value is doubled
-	"$surfaceprop" "plaster"
-	//"$detail"	"glitchvid/detail/plaster_detail_lrg"
-	"$detailscale" "7"
+	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
+	}
 }
\ No newline at end of file
--- a/materials/glitchvid/plaster/cleanplaster_orange.vmt	Thu Apr 28 19:04:57 2016 -0600
+++ b/materials/glitchvid/plaster/cleanplaster_orange.vmt	Thu May 05 21:31:38 2016 -0600
@@ -1,12 +1,10 @@
-"LightmappedGeneric"
+patch
 {
-	"$basetexture" "glitchvid/plaster/cleanplaster_orange"
-	"$bumpmap" "glitchvid/plaster/plaster_normalmap"
-	"$envmap" "env_cubemap"
-	"$normalmapalphaenvmapmask" 1
-	"$envmaptint" "{204 68 30}"
-	"$reflectivity" "{382 166 0}" // this value is doubled
-	"$surfaceprop" "plaster"
-	//"$detail"	"glitchvid/detail/plaster_detail_lrg"
-	"$detailscale" "7"
+	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
+	}
 }
\ No newline at end of file
--- a/materials/glitchvid/plaster/cleanplaster_white.vmt	Thu Apr 28 19:04:57 2016 -0600
+++ b/materials/glitchvid/plaster/cleanplaster_white.vmt	Thu May 05 21:31:38 2016 -0600
@@ -1,13 +1,8 @@
-"LightmappedGeneric"
+patch
 {
-	"$basetexture" "glitchvid/plaster/cleanplaster_white"
-	"$bumpmap" "glitchvid/plaster/plaster_normalmap"
-	"$envmap" "env_cubemap"
-	"$normalmapalphaenvmapmask" 1
-	"$envmaptint" "[ 0.25 0.25 0.25 ]"
-	"$surfaceprop" "plaster"
-//	"$color"	"{110 110 110}" 
-//	"$reflectivity" "[0.5 0.5 0.5]"	// VTF is doing fine automatically
-	//"$detail"	"glitchvid/detail/plaster_detail_lrg"
-	"$detailscale" "7"
+	include "materials/glitchvid/plaster/cleanplaster_base.vmt"
+	insert
+	{
+		"$basetexture"	"glitchvid/plaster/cleanplaster_white"
+	}
 }
\ No newline at end of file

mercurial