Changes between Version 9 and Version 10 of MaterialSystem
- Timestamp:
- Aug 8, 2012, 1:52:13 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MaterialSystem
v9 v10 1 1 [[TOC]] 2 2 3 The material system contains many components. Artists should just care about telling actorsto use appropriate materials, and occasionally creating new material XML files by copying old ones and tweaking the uniforms. Graphical programmers might care about all the various shader files.3 The material system contains many components. Artists should just care about telling [wiki:Actors actors] to use appropriate materials, and occasionally creating new material XML files by copying old ones and tweaking the uniforms. Graphical programmers might care about all the various shader files. 4 4 5 5 == Definitions == 6 6 7 * '''Models''' are a single mesh with a single material and texture. ( Actor XMLfiles define how meshes and materials and textures are combined to make models. Actors can use props to combine multiple models for use by a single unit, but props are completely independent as far as the rendering is concerned, so we don't need to worry about them further.)7 * '''Models''' are a single mesh with a single material and texture. ([wiki:Actors#ActorXMLformat Actor XML] files define how meshes and materials and textures are combined to make models. Actors can use props to combine multiple models for use by a single unit, but props are completely independent as far as the rendering is concerned, so we don't need to worry about them further.) 8 8 9 9 * '''Shader programs''' contain the low-level GPU code that performs per-vertex and per-fragment computation. (These might be implemented with GLSL, or with ARB assembly programs, or with fixed-function multitexturing code - the choice of implementation language is hidden from the rest of the system.)