$fallbackmaterial
Jump to navigation
Jump to search

$fallbackmaterial is a material shader parameter available in all
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"
}