Difference between revisions of "Mapping:What is a shader"
(Created page with "A Shader is a collection of properties that controls how a surface is treated by the compilers, and how the surface is rendered by the Quake 3 engine. Every Surface has a default...") |
|||
Line 3: | Line 3: | ||
Combinations of a number of pre-defined properties control the way the compiler treats the surface. | Combinations of a number of pre-defined properties control the way the compiler treats the surface. | ||
− | See the Shader Manual for more information. | + | See the [http://www.custommapmakers.org/wiki/shaders/index.html Shader Manual] for more information. |
"SurfaceParm" is the shader keyword for universal shader properties. | "SurfaceParm" is the shader keyword for universal shader properties. | ||
Line 14: | Line 14: | ||
A Surface Property applies only to the surface with that property. | A Surface Property applies only to the surface with that property. | ||
+ | |||
+ | [Textures:Shaders] |
Revision as of 10:46, 27 August 2011
A Shader is a collection of properties that controls how a surface is treated by the compilers, and how the surface is rendered by the Quake 3 engine. Every Surface has a default set of Shader properties, unless an external shader script is specified.
Combinations of a number of pre-defined properties control the way the compiler treats the surface.
See the Shader Manual for more information.
"SurfaceParm" is the shader keyword for universal shader properties.
SurfaceParms are either Brush "Content" Properties or Brush "Surface" Properties.
A Content Property applies to the contents of an entire Brush if the first face of the brush (face 0) has that property.
Because of this, identical Content Properties should be applied to all faces of a brush to avoid unpredictable results.
A Surface Property applies only to the surface with that property.
[Textures:Shaders]