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...

patch
{
	include "materials/glitchvid/carpet/mdrnoff_carpet_default.vmt"
	insert
	{
		"$color"	"[2 2 2]"  // I used brackets here because I want int
		"$reflectivity"	"{52 52 52}" // Curly Brackets because absolute value
// If you care to learn how that works read: 
// https://developer.valvesoftware.com/wiki/Material_vector
	}
}

mercurial