Difference between revisions of "Texture"
From Valve Developer Community
|Line 23:||Line 23:|
Revision as of 21:43, 12 May 2008
- A Source Texture is a raster image file which defines the pixels of a colormap, bumpmap, specularmap, opacitymap, and/or luminositymap (see Valve Texture Format).
- A Source Material specifies a stack of Textures and the Shader Parameters to use when rendering them. It also specifies which sounds and decal effects to use for collision events (see Valve Material Type).
- A Source Texture map specifies a Material and maps the pixels (from all of its texture layers) onto the surfaces of a particular object (see UV map).
The Material System uses texture VTFs for:
- color maps ($basetexture)
- diffuse maps ($basetexture)
- normal maps ($bumpmap)
- specular maps ($envmapmask)
- luminosity maps ($selfillum)
- opacity maps ($translucent)
- For a quick start to using Textures in Hammer see Applying Textures and Tool textures.
- For a more comprehensive guide to applying textures to geometry in Source see UV mapping.
- For creating new textures see TGA, VTF, Vtex, To do: (find/write a basic step-by-step tutorial and a general guidelines doc on making good textures).
- For Tools and Plugins see VTF Utilities and image editors.