$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
Pathis the filepath relative togame_directory/materialsfolder. - where
TextureAis the filename; ieTextureA.vtf. - Notice the
.vtffile 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