Texture: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Tutorial: Typo.)
mNo edit summary
Line 1: Line 1:
A '''texture''' is an image used to comprise a [[material]] in the [[Source]] engine. Textures are generally created as [[TGA]] files, and then converted to [[VTF]] format for reference by the game.
A '''texture''' is an image used to create a [[Material]] in the [[Source]] engine. Textures are generally created as [[TGA]] files, and then converted to the [[VTF|Valve Texture Format]] for reference by a material. [[Shader]]s can be applied to the texture using materials.


[[Shader]]s can be applied to the texture using materials.
{{note|A texture alone cannot be used: materials are what are loaded by the engine.}}


{| style="text-align:center;"
;Valid Dimension (Pixels)
! Valid Dimension
:16<sup>2</sup>
|-
:32<sup>2</sup>
! (Pixels)
:64<sup>2</sup>
|-
:128<sup>2</sup>
| 16
:256<sup>2</sup>
|-
:512<sup>2</sup>
| 32
:1024<sup>2</sup>
|-
:2048<sup>2</sup>
| 64
|-
| 128
|-
| 256
|-
| 512
|-
| 1024
|-
| 2048
|}


==Utilities==
==Utilities==
Line 34: Line 22:
==Tutorial==
==Tutorial==
* [[Applying Textures]]
* [[Applying Textures]]
==See also==
*[[Material]]
*[[VTF]]


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

Revision as of 01:13, 20 August 2006

A texture is an image used to create a Material in the Source engine. Textures are generally created as TGA files, and then converted to the Valve Texture Format for reference by a material. Shaders can be applied to the texture using materials.

Note.pngNote:A texture alone cannot be used: materials are what are loaded by the engine.
Valid Dimension (Pixels)
162
322
642
1282
2562
5122
10242
20482

Utilities

  • Genetica — Professional-level seamless texture editor. Creates tiling textures of all material types.
  • VTFPhotoshop Plugin — VTF Photoshop Plug-in
  • VTFEdit, VTFLib — Common source tool.
  • VTFEdit — Used for easy conversion of TGA to VTF or VTF to TGA.

Tutorial

See also