$texture2
From Valve Developer Community
(Redirected from $texture2scale)
- Used for the UnlitTwoTexture shader.
- Compare to $basetexture2
Contents |
VMT syntax
"UnlitTwoTexture" { "$basetexture" "Path/TextureA" "$texture2" "Path/TextureB" "$texture2transform" "center .5 .5 scale 1 1 rotate 0 translate 0 0" "$texture2scale" 1.0 }
Additional Parameters
$texture2transform
$texture2transform <>
- The default position is
"center .5 .5 scale 1 1 rotate 0 translate 0 0".-
centerdefines the point of rotation. Only useful ifrotateis being used. -
scalefits the texture into the material the given number of times. '2 1' is a 50% scale in the X axis. -
rotaterotates the texture anti-clockwise. Accepts any number, including negatives. -
translateshifts the texture by the given number of heights/widths. '.5' will shift it half-way.
-
Note:All values must be included!
- Dx9 only?
$texture2scale
$texture2scale <>
-
To do: dx8 transform scale?
