Category:Material System

From Valve Developer Community
Revision as of 06:17, 21 April 2008 by Beeswax (talk | contribs) (→‎Basics)
Jump to navigation Jump to search

Introduction

In the Source Material System, the visible Surface of a Brush, Model, Sprite, etc. is defined by it's Valve Material Type (VMT) file. The VMT is mapped onto the object's Geometry to specify the appearance of its Polygonal Surfaces. Other Physical Properties (which are not limited to the object's Surface) are handled by the Physics System(s). For example: Breakable objects derive some additional "material" properties from their propdata configuration.

  • Each VMT or Valve Material Type file defines which Shader and Shader Parameters to use to render the textures, which VTF textures to use to 'paint the polygons', and a number of surface collision effects such as the sounds and decals to use when bullet hits the surface. VMT files are uncompiled scripts that can be tweaked and edited with any text editor.

Generally a Brush Material refers to a VMT designed for use with World Brushes (stored in game_dir/materials/), and a Skin is a VMT designed to be mapped onto a particular Model (stored in game_dir/materials/models). A Texture is a VTF file, used by either a Brush Material or a Skin - but rarely both. Usually VTFs are stored in the same folder as the VMTs that use them.

Basics

Advanced topics

Useful applications

Subcategories

This category has the following 5 subcategories, out of 5 total.

G

R

S

Pages in category "Material System"

The following 133 pages are in this category, out of 133 total.