materials/glitchvid/carpet/mdrnoff_carpet_lightgrey.vmt

Sun, 05 Feb 2023 15:04:56 -0700

author
Glitchvid <Glitchvid@glitchvid.com>
date
Sun, 05 Feb 2023 15:04:56 -0700
changeset 95
e4cd7fbc50ec
parent 0
a5ee9df947f6
permissions
-rw-r--r--

Change carpet_checker01_diffuse from I8 to RGB888
Fixes rendering issue, at cost of 3x memory usage, oh well...

0
a5ee9df947f6 Initial
glitchvid
parents:
diff changeset
1 patch
a5ee9df947f6 Initial
glitchvid
parents:
diff changeset
2 {
a5ee9df947f6 Initial
glitchvid
parents:
diff changeset
3 include "materials/glitchvid/carpet/mdrnoff_carpet_default.vmt"
a5ee9df947f6 Initial
glitchvid
parents:
diff changeset
4 insert
a5ee9df947f6 Initial
glitchvid
parents:
diff changeset
5 {
a5ee9df947f6 Initial
glitchvid
parents:
diff changeset
6 "$color" "[2 2 2]" // I used brackets here because I want int
a5ee9df947f6 Initial
glitchvid
parents:
diff changeset
7 "$reflectivity" "{52 52 52}" // Curly Brackets because absolute value
a5ee9df947f6 Initial
glitchvid
parents:
diff changeset
8 // If you care to learn how that works read:
a5ee9df947f6 Initial
glitchvid
parents:
diff changeset
9 // https://developer.valvesoftware.com/wiki/Material_vector
a5ee9df947f6 Initial
glitchvid
parents:
diff changeset
10 }
a5ee9df947f6 Initial
glitchvid
parents:
diff changeset
11 }

mercurial