VMT: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎External links: Old AKG link. Update, please!)
(This page should only describe what a material ''is''. Merge request removed.)
Line 1: Line 1:
{{merge|Creating a Material}}


A '''material''' is what the [[Source]] engine uses to define which [[texture]]s ([[VTF|.vtf]]) and [[shader]]s (function which defines how materials are rendered to the screen) are used on a surface ([[:Category:World Models|models]], [[Brush|world surfaces]], [[env_sprite|sprites]], etc). This information is stored in a [[VMT|Valve Material (.vmt)]] file.
A '''material''' is what the [[Source]] engine uses to define which [[texture]]s ([[VTF|.vtf]]) and [[shader]]s (function which defines how materials are rendered to the screen) are used on a surface ([[:Category:World Models|models]], [[Brush|world surfaces]], [[env_sprite|sprites]], etc). This information is stored in a [[VMT|Valve Material (.vmt)]] file.


For a quick overlook on the entire process of creating a material from scratch, see [[Material Creation]].


 
For a more lengthy tutorial on this process, see [[Creating a Material]].
== Summary of creating materials ==
 
[[Image:TextureFlowchart.jpg]]
 
Here is a brief summary of the steps necessary to create a material for the Source engine:
 
# Create the source texture as [[TGA|a valid targa (.tga) image]] (using graphics software such as MSPaint).
# (Optional) Write the [[Vtex compile parameters|compile parameters]] for [[Vtex]] to use.
# Use the [[Vtex]] tool to compile the targa image into a [[VTF|Valve Texture File (.vtf)]].
# Create a [[VMT|Valve Material (.vmt)]] file, where you refer to the Valve Texture File (.vtf) you've created. (See [[#Creating a Valve Material (.vmt) file|below]].)
# Launch the Hammer editor (or model viewer) and check that the new material works properly.




Line 36: Line 25:


[[Category:Material System]]
[[Category:Material System]]
[[Category:Tutorials]]
[[Category:Glossary]]
[[Category:Glossary]]

Revision as of 15:08, 29 August 2007

A material is what the Source engine uses to define which textures (.vtf) and shaders (function which defines how materials are rendered to the screen) are used on a surface (models, world surfaces, sprites, etc). This information is stored in a Valve Material (.vmt) file.

For a quick overlook on the entire process of creating a material from scratch, see Material Creation.

For a more lengthy tutorial on this process, see Creating a Material.


See Also


External links