$basetexture
Jump to navigation
Jump to search
The $basetexture shader parameter specifies the VTF texture to use for the basic 'skin' or diffusemap of the material surface.
Basic VMT Syntax
"$basetexture" "Path/TextureA"
- where
Path
is the filepath relative togame_directory/materials
folder. - where
TextureA
is the filename; ieTextureA.vtf
. - Notice the
.vtf
file extension is not used in VMT texture references.
Additional Parameters
$basetexture2
"$basetexture" "Path/TextureA" "$basetexture2" "Path/TextureB"
- Used for the WorldVertexTransition shader.
$texture2
"$basetexture" "Path/TextureA" "$texture2" "Path/TextureB"
- Used for the WorldTwoTextureBlend and UnlitTwoTexture shaders.
See Also
- Tutorial Multiple Skins for a Single Model