Difference between revisions of "UnlitTwoTexture"
Gtamike TSGK (talk | contribs) |
DeathByNukes (talk | contribs) (clarified purpose) |
||
Line 1: | Line 1: | ||
− | * Two textures are | + | * Two base textures are multiplied together. (Just like the [http://en.wikipedia.org/wiki/Blend_modes#Multiply Multiply] blending mode in typical image editors.) |
− | * | + | * Unrelated to [[WorldVertexTransition]], which is used for making alpha fading transitions between two base textures on displacements. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Shaders]] | [[Category:Shaders]] |
Revision as of 10:59, 25 October 2012
- Two base textures are multiplied together. (Just like the Multiply blending mode in typical image editors.)
- Unrelated to WorldVertexTransition, which is used for making alpha fading transitions between two base textures on displacements.
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
}
}
}