UnlitTwoTexture
Jump to navigation
Jump to search
- Two textures are mixed evenly and appear at full brightness.
- Used in development to check Displacement material blending ?
Note:This does not work on Orange Box for some reason. Maybe this will get fixed eventually but until then you need to edit the .vmt syntax from "UnlitTwoTexture" to "UnlitTwoTexture_DX6".
Basic VMT syntax
"UnlitTwoTexture"
Orange Box VMT syntax
"UnlitTwoTexture_DX6"
E.G.
Stock .vmt hl2/materials/models/props_combine/portalball001_sheet.vmt
"UnlitTwoTexture"
{
"$basetexture" "models/props_combine/portalball001_sheet"
"$texture2" "models/props_combine/portalball001b_sheet"
"$model" 1
"$nocull" "1"
"$additive" "1"
"Proxies"
{
"TextureScroll"
{
"texturescrollvar" "$texture2transform"
"texturescrollrate" -.2
"texturescrollangle" 60
}
}
}