UnlitTwoTexture: Difference between revisions
Jump to navigation
Jump to search
m (Category rename) |
Gtamike TSGK (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
[[Category:Shaders]] | [[Category:Shaders]] | ||
===E.G.=== | |||
Stock .vmt | |||
hl2/materials/models/props_combine/portalball001_sheet.vmt | |||
<syntaxhighlight> | |||
"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 | |||
} | |||
} | |||
} | |||
</syntaxhighlight> |
Revision as of 02:19, 4 December 2011
- 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
}
}
}