Character Textures and Materials

From Valve Developer Community
Revision as of 23:27, 11 November 2007 by BasacElsit (talk | contribs)
Jump to navigation Jump to search

photos of people jumping from world trade center afghanistan government type arkansas us senators 15 pic pregnancy week videreutdanning schroders london passport software inc wedding reception first dance songs port havre organization theory syllabus modeling photo contests store on south street in philadelphia ipod access key west boats inc i knew the bride people search in england love more war time in lahore new york city mayoral candidates stop ignoring here 2 airplane model pre war world euro and us currency exchange rate ions list american society of radiological technologist saved by the bell wedding texas a m jersey last lyric waltz 3d production studios marther luther king biography the red rock line in iowa newsgroup reader software patio room design indian ocean currents 1920s golf history tank less water heater wootton attorney business california pc tv cards evil movie resident trailer monterey heights san francisco utah tax tables att conference call service equal exchange fair english in korea teacher 3.0 aim download stages of revolution silk full slip infection pregnant tract urinary naked news photo amd 64 754 the ranson raccoons com ventas al detalle animal farm tests plant retail services pre foreclosure info pet rock craft photograph pregnant woman picture msnbc video library oracle database performance problems variety show idea advanced placement united states history review rent control eviction oxygen use at home 2 million dollar homes time in salt lake city ut licensed nursing online 1 blonde legally man gear map pokemon ruby aviation accident resource center india international schools appraisal georgia schools modeling jobs in new york real estate amsterdam new york the loneliness song user online scripts leukaemia and cancer alabama 3 tour dates as known puerto rico ziemia na sprzedaz most promising my one and only love lyric art desktop guitar wallpaper post office business employee safety handbook office vacancies london video camera for inside car rear view mirror egypt land area womens leather coats 2006 chinese new year calendar learning by doing economics vhs dvd conversion service macafee virus scaner aaa chicago il volience in sports who am i where am i going latino organization roller coasters of the future takeda pharma 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