$basetexture: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
'''The $basetexture shader parameter specifies the [[VTF]] texture to use for the basic local | '''The $basetexture shader parameter specifies the [[VTF]] texture to use for the basic diffusemap (local colour) of the material surface.''' | ||
=== Syntax === | === Syntax === | ||
Revision as of 15:06, 8 November 2007
The $basetexture shader parameter specifies the VTF texture to use for the basic diffusemap (local colour) of the material surface.
Syntax
"$basetexture" "Path/Texture"
Pathis relative togame_directory/materialsfolder.Textureis the filename, egtexture.vtf.- Notice the
.vtffile extension is not used in VMT texture references.
Additional Parameters
$basetexture2
"$basetexture2" "Path/Texture2"
- Used for the WorldVertexTransition shader.
$texture2
"$texture2" "Path/Texture2"
- Used for the WorldTwoTextureBlend and UnlitTwoTexture shaders.