Shader

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
 
(11 intermediate revisions by one user not shown)
Line 1: Line 1:
Shader (verb ''to shade'') term have several meanings.
+
{{grammar checked|darth}}
 +
Shader (verb ''to shade'') may refer to:
  
1. Shader - [[http://en.wikipedia.org/wiki/Shader | program for 3D rendering pipeline]] which could be written in various shader languges (GLSL, HLSL, Cg, ARB etc.). There is vertex shader, pixel shader, geometry shader etc. This is most ''official'' meaning.
+
* [http://en.wikipedia.org/wiki/Shader Program for 3D rendering pipeline] which could be written in special shader language (GLSL, HLSL, Cg, ARB etc.). E.g. vertex shader, pixel shader, geometry shader etc.  
  
2. Shader - Quake 3 Material. In Id Tech 3 materials are named shaders (this includes many techical papers that describe [[MD3]], [[Q3BSP]] etc.). So sometimes they get called as shaders, which is not correct. Since Darkplaces engine's material system using Id Tech 3 approach as a base, it's materials sometimes called shaders too (material files extension is .shader).
+
* Quake 3 Material. In Id Tech 3, materials are named shaders (this includes many techical papers that describe [[MD3]], [[Q3BSP]] etc.). In this regard, sometimes materials may be called shaders. Since Darkplaces engine's [[Darkplaces material system|material system]] is using Id Tech 3 material approach as a base, its materials sometimes called shaders as well (also material files extension is ''.shader'').
  
3. Programmable block for anything that is processed in realtime. There is sound shaders, light shaders, entity shaders etc. ''shader'' is different from script as it runned in realtime.
+
* Programmable block for anything that is processed in realtime. E.g. sound shaders, light shaders, entity shaders etc. ''Shader'' is different from script as it runs in realtime.
  
 
[[Category:Glossary]]
 
[[Category:Glossary]]
 +
{{finished}}

Latest revision as of 16:45, 28 September 2012

Shader (verb to shade) may refer to:

  • Program for 3D rendering pipeline which could be written in special shader language (GLSL, HLSL, Cg, ARB etc.). E.g. vertex shader, pixel shader, geometry shader etc.
  • Quake 3 Material. In Id Tech 3, materials are named shaders (this includes many techical papers that describe MD3, Q3BSP etc.). In this regard, sometimes materials may be called shaders. Since Darkplaces engine's material system is using Id Tech 3 material approach as a base, its materials sometimes called shaders as well (also material files extension is .shader).
  • Programmable block for anything that is processed in realtime. E.g. sound shaders, light shaders, entity shaders etc. Shader is different from script as it runs in realtime.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox