Shader

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
1. [http://en.wikipedia.org/wiki/Shader Program for 3D rendering pipeline] which could be written in special shader language (GLSL, HLSL, Cg, ARB etc.). There is vertex shader, pixel shader, geometry shader etc. This is most ''official'' meaning.
 
1. [http://en.wikipedia.org/wiki/Shader Program for 3D rendering pipeline] which could be written in special shader language (GLSL, HLSL, Cg, ARB etc.). There is vertex shader, pixel shader, geometry shader etc. This is most ''official'' meaning.
  
2. Quake 3 Material. In Id Tech 3, materials are named shaders (this includes many techical papers that describe [[MD3]], [[Q3BSP]] etc.). So after q3, sometimes materials they get called as shaders. Since Darkplaces engine's material system using Id Tech 3 material approach as a base, it's materials sometimes called shaders too (material files extension is .shader).
+
2. Quake 3 Material. In Id Tech 3, materials are named shaders (this includes many techical papers that describe [[MD3]], [[Q3BSP]] etc.). So after q3, sometimes materials they get called as shaders. Since Darkplaces engine's [[Darkplaces material system|material system]] using Id Tech 3 material approach as a base, it's materials sometimes called shaders too (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.
 
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.

Revision as of 12:45, 1 August 2012


Shader (verb to shade) term have several meanings.

1. Program for 3D rendering pipeline which could be written in special shader language (GLSL, HLSL, Cg, ARB etc.). There is vertex shader, pixel shader, geometry shader etc. This is most official meaning.

2. Quake 3 Material. In Id Tech 3, materials are named shaders (this includes many techical papers that describe MD3, Q3BSP etc.). So after q3, sometimes materials they get called as shaders. Since Darkplaces engine's material system using Id Tech 3 material approach as a base, it's materials sometimes called shaders too (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.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox