DarkRadiant shader system: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
* The [[DarkRadiant GLTextureManager|GLTextureManager]], responsible for "realising" the actual Texture objects (this includes image post-processing like gamma-adjustment and resampling).
* The [[DarkRadiant GLTextureManager|GLTextureManager]], responsible for "realising" the actual Texture objects (this includes image post-processing like gamma-adjustment and resampling).


http://img263.imageshack.us/img263/9984/shadersystemzh6.th.jpg
<img align="right src="http://img263.imageshack.us/img263/9984/shadersystemzh6.th.jpg" />


[[Category:DarkRadiant]]
[[Category:DarkRadiant]]
[[Category:Coding]]
[[Category:Coding]]

Revision as of 16:27, 7 February 2007

The DarkRadiant shader system module is initialised during DarkRadiant startup and parses the material files during this phase.

It consists of several vital components:

  • The ShaderLibrary which holds all the named ShaderDefinitions and named Shader objects.
  • The GLTextureManager, responsible for "realising" the actual Texture objects (this includes image post-processing like gamma-adjustment and resampling).

<img align="right src="shadersystemzh6.th.jpg" />