$fallbackmaterial

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

$fallbackmaterial is a material shader parameter available in all Source Source games. Use this parameter for backward compatibility of materials. Used for Core shader compatibility with DirectX 7.0.

VMT syntax

$fallbackmaterial	<material without extension, relative to <game>/materials/>
"<=dx90"
{
	$fallbackmaterial <VMT material to set>
}

VMT syntax example

core_dx70
{
	$fallbackmaterial "models/props_combine/coredx70"
}

See also