Difference between revisions of "Mapping:What is a shader"

From Custom Map Makers Wiki
Jump to: navigation, search
(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...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Stub}}
 
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.
 
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.  
 
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 15:
  
 
A Surface Property applies only to the surface with that property.
 
A Surface Property applies only to the surface with that property.
 +
 +
For more information about shaders, see the topic [[Textures:Shaders]]
 +
 +
[[Category:Mapping]]

Latest revision as of 15:17, 13 September 2011

Hammer.png This page is a stub!
Please help us improve it.

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.

For more information about shaders, see the topic Textures:Shaders