Material Creation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Moved from Material. (It's two different topics, really.))
 
No edit summary
Line 3: Line 3:
[[Image:TextureFlowchart.jpg]]
[[Image:TextureFlowchart.jpg]]


# Create the source texture as [[TGA|a valid targa (.tga) image]] (using graphics software such as MSPaint).
# 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)]].

Revision as of 08:40, 8 January 2008

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

TextureFlowchart.jpg

  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. (See below.)
  5. Launch the Hammer editor (or model viewer) and check that the new material works properly.


See also