Applying Materials: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Nesciuse moved page Applying Materials/en to Applying Materials without leaving a redirect: Move en subpage to basepage)
 
(17 intermediate revisions by 15 users not shown)
Line 1: Line 1:
[[Category:Level Design]]
{{LanguageBar}}
Materials, or textures, are the designs applied to the surfaces of solids (brushes). These materials show what a given solid is made of (brick, steel, sand, etc.). So, while solid brushes give your level form, materials indicate function, create atmosphere and bring your level to life. Skilled application of materials is one of the most important aspects of creating a good level. The tools in the Hammer Editor give you easy access material with various visual properties.
 
[[Material]]s, or [[Texture]]s, are the designs applied to the surfaces of solids ([[Brush]]es). These materials show what a given solid is made of (brick, steel, sand, etc.). So, while solid brushes give your level form, materials indicate function, create atmosphere and bring your level to life. Skilled application of materials is one of the most important aspects of creating a good level. The tools in the [[Hammer]] Editor give you easy access material with various visual properties.


The materials for the Source Engine are stored in directories within the game directory, separated by logical categories. A material is a text file with the extension .VMT that describes how the texture is rendered in the engine. VMT files point to the separate texture files that make up the look of the material. Individual texture files can be used for color, specularity, transparency, etc. Together, they make up the combined look of the material.
The materials for the [[Source Engine]] are stored in directories within the game directory, separated by logical categories. A material is a text file with the extension .VMT that describes how the texture is rendered in the engine. VMT files point to the separate Texture files that make up the look of the material. Individual Texture files can be used for color, specularity, transparency, etc. Together, they make up the combined look of the material.


Your first encounter with materials will most likely be through the Textures toolbar.
== Basic texture application ==
[[File:Hammer_texturestoolbar.png|frame|left|caption|The Hammer Textures toolbar.]]


[[Image:hammer_texturetoolbar.jpg]]
Your first encounter with Materials will most likely be through the [[Hammer_Textures_Toolbar|Textures toolbar]].


The Textures toolbar shows the current materials, and lets you select a new material. The Current texture drop-down list shows the last eight materials used, then continues with a list of the remaining materials.
The Textures toolbar shows the current materials, and lets you select a new material. The '''Current Texture''' drop-down list shows the last eight Materials used, then continues with a list of the remaining Materials.


The '''Browse...''' button opens the Texture Browser, where you can select from all available textures.
The '''Browse...''' button opens the [[Hammer Texture Browser|Texture Browser]], where you can select from all available Textures.<br style="clear:both;" />


[[Image:hammer_texturebrowser7.jpg]]
[[File:hammer_texturebrowser7.jpg|thumb|300px|right|The Hammer Texture Browser.]]


This window contains a list of the materials currently available. Double-clicking a material in the list selects it as the current material and close the '''Texture Browser'''. The material you selected will now appear in the '''Textures toolbar'''.
This window contains a list of the Materials currently available. Double-clicking a material in the list selects it as the current material and close the '''Texture Browser'''. The material you selected will now appear in the '''Textures toolbar'''.


So to apply a material to an object:
So to apply a material to an object:
Line 20: Line 22:
# Click '''Browse...''' on the Textures toolbar.
# Click '''Browse...''' on the Textures toolbar.
# In the Texture Browser, find a material you wish to apply, and double-click it.
# In the Texture Browser, find a material you wish to apply, and double-click it.
# Select a brush you wish to appy the material to with the Selection Tool on the '''Map Tools''' toolbar.
# Select a brush you wish to apply the material to with the [[Hammer Selection Tool|Selection Tool]] on the '''Map Tools''' toolbar.
# Click the Apply Current Texture button on the Map Tools toolbar.
# Click the '''Apply Current Texture''' button on the Map Tools toolbar.
 
* See the [[Hammer_Textures_Toolbar|Textures toolbar]] and [[Hammer_Texture_Browser|Texture Browser]] for more detailed information on their functions.<br style="clear:both;" />
 
== Texture Application Mode ==


See the Textures toolbar and Texture Browser for more detailed information on their functions.
[[File:Hammer_faceeditdialog.png|frame|right|caption|The Hammer Face Edit dialog.]]


==Texture Application Mode==
You will eventually need to modify a texture in some way, like to rotate or scale it. The [[Hammer Face Edit Dialog|Face Edit dialog]] (Texture Application mode) allows you to manipulate the texture properties of selected brush faces. Texture Application mode is entered by clicking its icon on the [[Hammer Map Tools Toolbar|Map Tools]] toolbar, or by pressing {{key|SHIFT}}+{{key|A}}.


You will eventually need to modify a texture in some way, like to rotate or scale it. The Face Edit dialog (Texture Application mode) allows you to manipulate the texture properties of selected brush faces. Texture Application mode is entered by clicking its icon on the Map Tools toolbar, or by pressing SHIFT+A. To select a brush face, click on it in the 3D view with the left mouse button. To select multiple faces, hold down the Ctrl key while you do this. You can also select multiple brushes before selecting the Texture Application tool.
* To select a brush face, click on it in the 3D view with the {{key|LMB}} left mouse button.
* To select multiple faces, hold down the {{key|CTRL}} key while you do this.
* You can also select multiple Brushes before selecting the Texture Application tool.
* See the [[Hammer Face Edit Dialog|Face Edit Dialog]] for more information on all the capabilities of the '''Material''' tab.
 
[[Category:Level Design]]
[[Category:Hammer]]


[[Image:hammer_faceeditsheet.jpg]]


See Face Edit for more information on all the capabilties of the '''Material''' tab.
{{stub}}

Latest revision as of 04:36, 12 July 2024

English (en)Deutsch (de)Translate (Translate)

Materials, or Textures, are the designs applied to the surfaces of solids (Brushes). These materials show what a given solid is made of (brick, steel, sand, etc.). So, while solid brushes give your level form, materials indicate function, create atmosphere and bring your level to life. Skilled application of materials is one of the most important aspects of creating a good level. The tools in the Hammer Editor give you easy access material with various visual properties.

The materials for the Source Engine are stored in directories within the game directory, separated by logical categories. A material is a text file with the extension .VMT that describes how the texture is rendered in the engine. VMT files point to the separate Texture files that make up the look of the material. Individual Texture files can be used for color, specularity, transparency, etc. Together, they make up the combined look of the material.

Basic texture application

The Hammer Textures toolbar.

Your first encounter with Materials will most likely be through the Textures toolbar.

The Textures toolbar shows the current materials, and lets you select a new material. The Current Texture drop-down list shows the last eight Materials used, then continues with a list of the remaining Materials.

The Browse... button opens the Texture Browser, where you can select from all available Textures.

The Hammer Texture Browser.

This window contains a list of the Materials currently available. Double-clicking a material in the list selects it as the current material and close the Texture Browser. The material you selected will now appear in the Textures toolbar.

So to apply a material to an object:

  1. Click Browse... on the Textures toolbar.
  2. In the Texture Browser, find a material you wish to apply, and double-click it.
  3. Select a brush you wish to apply the material to with the Selection Tool on the Map Tools toolbar.
  4. Click the Apply Current Texture button on the Map Tools toolbar.

Texture Application Mode

The Hammer Face Edit dialog.

You will eventually need to modify a texture in some way, like to rotate or scale it. The Face Edit dialog (Texture Application mode) allows you to manipulate the texture properties of selected brush faces. Texture Application mode is entered by clicking its icon on the Map Tools toolbar, or by pressing Shift+A.

  • To select a brush face, click on it in the 3D view with the LMB left mouse button.
  • To select multiple faces, hold down the CTRL key while you do this.
  • You can also select multiple Brushes before selecting the Texture Application tool.
  • See the Face Edit Dialog for more information on all the capabilities of the Material tab.


Stub

This article or section is a stub. You can help by expanding it.