Character Textures and Materials: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Nesciuse moved page Character Textures and Materials/en to Character Textures and Materials without leaving a redirect: Move en subpage to basepage)
 
(14 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[http://endure.servemp3.com/accounting-software.html accounting-software] [http://endure.servemp3.com/cirrus.html cirrus] [http://sings.servemp3.com/article/usher-yeah.html usher yeah] [http://pittie.servemp3.com/styles/the-man-who.htm the man who sold the world] [http://swung.servemp3.com/topic/siamese.html siamese] [http://winged.servemp3.com/pages/blue-cross.htm blue cross] [http://endure.servemp3.com/lauren-anderson.html lauren anderson] [http://swung.servemp3.com/topic/grooved-panels.html grooved panels] [http://array.servemp3.com/dots.html dots] [http://pours.servemp3.com/data/up-shorts.html up shorts] [http://swung.servemp3.com/topic/donation.html donation] [http://endure.servemp3.com/christine-young.html christine young] [http://pours.servemp3.com/data/albuquerque-homes.html albuquerque homes] [http://marts.servemp3.com/fre.html fre] [http://sings.servemp3.com/article/fye.html fye] [http://pours.servemp3.com/data/crane-service.html crane service] [http://topas.servemp3.com/data/law-firm-in-costa.html law firm in costa blanca] [http://swung.servemp3.com/topic/discount-power.html discount power tools] [http://marts.servemp3.com/latex-mattress.html latex mattress] [http://array.servemp3.com/cheap-mp3-players.html cheap mp3 players] [http://pittie.servemp3.com/styles/school-security.htm school security] [http://topas.servemp3.com/data/rotten.html rotten] [http://pours.servemp3.com/data/ebony-green.html ebony green] [http://winged.servemp3.com/pages/vehicle-movers.htm vehicle movers] [http://topas.servemp3.com/data/tape-backup.html tape backup] [http://marts.servemp3.com/six.html six] [http://pours.servemp3.com/data/free-mmorpg.html free mmorpg] [http://topas.servemp3.com/data/thai.html thai] [http://sings.servemp3.com/article/plush-teddy-bears.html plush teddy bears] [http://pours.servemp3.com/data/roof-shingles.html roof shingles] [http://topas.servemp3.com/data/check-into-cash.html check into cash] [http://endure.servemp3.com/petsmart.html petsmart] [http://sings.servemp3.com/article/knock.html knock] [http://marts.servemp3.com/ingrid.html ingrid] [http://pours.servemp3.com/data/kitchen.html kitchen] [http://pittie.servemp3.com/styles/lemonade-diet.htm lemonade diet] [http://sings.servemp3.com/article/jcpenneys.html jcpenneys] [http://topas.servemp3.com/data/robin-trower.html robin trower] [http://marts.servemp3.com/exorcism.html exorcism] [http://endure.servemp3.com/all.html all] [http://sings.servemp3.com/article/broadcom.html broadcom] [http://sizzle.servemp3.com/water-damage.html water damage] [http://swung.servemp3.com/topic/grills.html grills] [http://marts.servemp3.com/lauren-bacall.html lauren bacall] [http://sings.servemp3.com/article/my-free-pay.html my free pay site] [http://marts.servemp3.com/buried-alive.html buried alive by love] [http://topas.servemp3.com/data/erin-daniels.html erin daniels] [http://topas.servemp3.com/data/cockroaches.html cockroaches] [http://endure.servemp3.com/record-catfish.html record catfish] [http://topas.servemp3.com/data/tailor-james.html tailor james] [http://marts.servemp3.com/passport-application.html passport application] [http://sizzle.servemp3.com/audiovox-ringtones.html audiovox ringtones] [http://pours.servemp3.com/data/typhoid-fever.html typhoid fever] [http://endure.servemp3.com/lemur.html lemur] [http://marts.servemp3.com/state-of-alabama.html state of alabama] [http://pittie.servemp3.com/styles/hard-boiled-eggs.htm hard boiled eggs] [http://pittie.servemp3.com/styles/sienna-miller.htm sienna miller] [http://marts.servemp3.com/rottoncom.html rotton.com] [http://sizzle.servemp3.com/baby-diapers.html baby diapers] [http://topas.servemp3.com/data/honda-hybrid.html honda hybrid] [http://swung.servemp3.com/topic/garden-bridge.html garden bridge] [http://endure.servemp3.com/etta-james.html etta james] [http://pours.servemp3.com/data/classy-lingerie.html classy lingerie] [http://marts.servemp3.com/j-roman---where.html j roman - where are you] [http://swung.servemp3.com/topic/avery-labels.html avery labels] [http://swung.servemp3.com/topic/telecommunications.html telecommunications consultants] [http://pours.servemp3.com/data/nfl-ticket.html nfl ticket] [http://sings.servemp3.com/article/city-lights.html city lights] [http://pittie.servemp3.com/styles/christian-dating.htm christian dating service] [http://winged.servemp3.com/pages/lanoxin.htm lanoxin] [http://swung.servemp3.com/topic/anne-geddes.html anne geddes] [http://pours.servemp3.com/data/internet-store.html internet store] [http://array.servemp3.com/alaska-vacation.html alaska vacation] [http://array.servemp3.com/six-flags.html six flags] [http://pittie.servemp3.com/styles/isaac-newton.htm isaac newton] [http://swung.servemp3.com/topic/straw-hats.html straw hats] [http://sizzle.servemp3.com/cell-phone-plan.html cell phone plan] [http://pittie.servemp3.com/styles/guiness-book.htm guiness book of world records] [http://pittie.servemp3.com/styles/scented-pillar.htm scented pillar candles] [http://sizzle.servemp3.com/big-hair.html big hair] [http://swung.servemp3.com/topic/deck-box.html deck box] [http://marts.servemp3.com/double-stroller.html double stroller] [http://pittie.servemp3.com/styles/american-west-airlines.htm american west airlines] [http://array.servemp3.com/doujinshi.html doujinshi] [http://marts.servemp3.com/sell-your-car.html sell your car] [http://sizzle.servemp3.com/welcome-signs.html welcome signs] [http://pittie.servemp3.com/styles/garage-band.htm garage band] [http://marts.servemp3.com/ali.html ali] [http://marts.servemp3.com/cal.html cal] [http://sizzle.servemp3.com/corporate-gift.html corporate gift] [http://topas.servemp3.com/data/tripping.html tripping] [http://array.servemp3.com/bank-one-online.html bank one online] [http://topas.servemp3.com/data/suriname.html suriname] [http://pours.servemp3.com/data/cartoon-horses.html cartoon horses] [http://swung.servemp3.com/topic/boston-terriers.html boston terriers] [http://topas.servemp3.com/data/napolean.html napolean] [http://marts.servemp3.com/movie-list.html movie list] [http://topas.servemp3.com/data/buy-gifts-online.html buy gifts online] [http://sings.servemp3.com/article/cb-radios.html cb radios] [http://marts.servemp3.com/wholesale-tools.html wholesale tools]
{{LanguageBar}}
When you compile a model for the [[Source]] engine, the names of the textures ([[TGA|targa (.tga)]] images) are referred to by a material shader ([[VMT|.vmt]]) file, instead of being used directly. Here is an example of a simple [[VMT]] file:


<pre>
"VertexLitGeneric"
{
    "$basetexture" "models/Humans/Female/naomi_facemap"
}
</pre>


This file simply specifies the [[Shader Types and Parameters|shader type]] <code>(VertexLitGeneric)</code> and includes a link to the image source, which is in the compressed [[VTF|.vtf]] image format.
For an overview of materials and their creation, see [[:Category:Material System]].


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.
== QC commands ==


Using this structure, you can refer to the targa (.tga) files in the <code>materialsrc/models</code> 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 <code>materials/models</code> tree.
*[[:Category:QC_Commands#Textures]]


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]].
== Shaders ==


{{otherlang:en}} {{otherlang:en:jp|Character Textures and Materials:jp}}
*[[VertexLitGeneric]]
*[[Eyes]]
*[[Teeth]]


[[Category: Material System]] [[Category: Modeling]]
== Shader parameters ==
 
*[[$phong]]
*[[$flesh]]
*[[$halflambert]]
*[[$model]]
*[[$selfillum]]
 
[[Category:Modeling]]
[[Category:Material System]]

Latest revision as of 05:23, 12 July 2024

English (en)日本語 (ja)Translate (Translate)


For an overview of materials and their creation, see Category:Material System.

QC commands

Shaders

Shader parameters