Material Creation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added information on vtf file plugins)
m (keeping it simple & removed "bad" link (a replacement link already exists in the "See also" section: Creating a Material))
Line 3: Line 3:
[[Image:TextureFlowchart.jpg]]
[[Image:TextureFlowchart.jpg]]


There are vtf plugins available for some graphics software packages, such as Photoshop and Paint.NET. These can be used to replace the first three steps of the following process.


{{Note|There are vtf plugins available for some graphics software packages, such as [[Photoshop_VTF_Plugin|Photoshop]] and Paint.NET. These can be used to replace the first three steps of the following process.}}


# Create the source texture as [[TGA|a valid targa (.tga) image]] (using graphics software such as Photoshop or the free Gimp. MSPaint CANNOT do this).
# Create the source texture as [[TGA|a valid targa (.tga) image]] (using graphics software such as Photoshop or the free Gimp. MSPaint '''cannot''' do this).
# (Optional) Write the [[Vtex compile parameters|compile parameters]] for [[Vtex]] to use.
# (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)]].
# 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]].)
# Create a [[VMT|Valve Material (.vmt)]] file, where you refer to the Valve Texture File (.vtf) you've created.
# Launch the Hammer editor (or model viewer) and check that the new material works properly.
# Launch the Hammer editor (or model viewer) and check that the new material works properly.


== See also ==
== See also ==
 
* [[Creating a Material]] - A longer tutorial on this process.
* [[Material]]
* [[TGA]]
* [[TGA]]
* [[Vtex]]
* [[Vtex]]
* [[Vtex compile parameters]]
* [[Vtex compile parameters]]
* [[VMT]]
* [[VTF]]
* [[VTF]]
* [[VMT]]
 
* [[Creating a Material]] - A longer tutorial on this process.
== External links ==
* [http://nemesis.thewavelength.net/index.php?p=39 VTF Plug-In for Photoshop]
* [http://nemesis.thewavelength.net/index.php?p=39 VTF Plug-In for Photoshop]
* [http://nemesis.thewavelength.net/index.php?p=50 VTF Plug-In for Paint.NET]
* [http://nemesis.thewavelength.net/index.php?p=50 VTF Plug-In for Paint.NET]




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

Revision as of 16:15, 26 January 2008

Here is a brief summary of the steps necessary to create a material for the Source engine from scratch:

TextureFlowchart.jpg


Note.pngNote:There are vtf plugins available for some graphics software packages, such as Photoshop and Paint.NET. These can be used to replace the first three steps of the following process.
  1. Create the source texture as a valid targa (.tga) image (using graphics software such as Photoshop or the free Gimp. MSPaint cannot do this).
  2. (Optional) Write the compile parameters for Vtex to use.
  3. Use the Vtex tool to compile the targa image into a Valve Texture File (.vtf).
  4. Create a Valve Material (.vmt) file, where you refer to the Valve Texture File (.vtf) you've created.
  5. Launch the Hammer editor (or model viewer) and check that the new material works properly.

See also

External links