Character Textures and Materials

From Valve Developer Community
Revision as of 01:12, 27 January 2008 by BasacElsit (talk | contribs)
Jump to navigation Jump to search

ssh sentinel downloads oat hill mine trail maya civilization for kids aol mail to outlook express awa construction simple party food recipes nutrition consultant courses arizona mesa park trailer winnt.sif options push start a motorcycle visual game boy advance roms vega banjo pdq car washes negro league all stars equation factoring quadratic id card printer kit unable to remove read only attribute from folder arapahoe county property tax records interior of 2005 nissan altima lyra rca update susie amy pics t j mulligans article on business planning asstraffic redhead sample simona l carnosine for autism and voodoo dolls protein urine smell art henna site submit my space layouts for girls mike james baseball northeastern womens lacrosse 2006 23rd february m1160n hp praire view a and m latest trends in human resource management sounder lessons ngc 1333 ripping and burning dvds steamers seafood bethesda printable balloon coloring page mla citation formate spam a lot broadway washington sports entertainment staple hill motors martin scorsese bob dylan iccbba tickled his foot lamonts department store shoal grass accident car smart video lfpr kanye west attended anxiety disorders similarities differences raintree run lawrence kansas peter andrae when hes calling for you lyrics evermore for one day mp3 pitney bowes postage machines lisa matheson red hot chili pepper greatest hit cd sound blaster audigy 2 nx usb abaco tourism transportation kelly mcgee pictures triumph spitfire mk iv 1777 1778 virus structures sasktel webspace maui jim wailea water districts texas jobmarket philippines matrix protein shake st johns hospital tulsaok savinja primary health care in uk x men next dimension how to use cyclops 2006 authentic jersey sox white thick eyelashes zen touch reset hole premasol treasure planet art oh god how did this get here new york post scratch n match numbers 2046 subtitles download intra corporation ethernet controler drivers why is internet safety important asset backed securities glossary adriatic hotel palace las positas college livermore california apartment for rent in long beach ny lindbergh vitamins equal not sign mke jones sysprep.exe download xp pdc 5070 review moon don williams zollinger ellison disease 10 gauge manufacturer shotgun a sprinkle a day 1969 dodge charger fenders When you compile a model for the Source engine, the names of the textures (targa (.tga) images) are referred to by a material shader (.vmt) file, instead of being used directly. Here is an example of a simple VMT file:

"VertexLitGeneric"
{
     "$basetexture" "models/Humans/Female/naomi_facemap"
}

This file simply specifies the shader type (VertexLitGeneric) and includes a link to the image source, which is in the compressed .vtf image format.

When using the XSI Mod Tool to produce models that will run in the Source engine, place your textures into the Source SDK directories provided when you installed the SDK. See SDK Directory Structure for more information on these directories.

Using this structure, you can refer to the targa (.tga) files in the materialsrc/models tree when you texture the model in XSI. When you compile or load the model into the Source engine or tools, it will refer to the .vmt files in the materials/models tree.

You can use the utility Vtex to convert targa images to our compressed .vtf format. For more information on how to create textures and use Vtex, see Material Creation and Vtex.

Template:Otherlang:en Template:Otherlang:en:jp