History: ShaderIntroduction
Source of version: 3 (current)
Copy to clipboard
This is a collection of shaders compatible with Ogre, that you can use or modify to fit your needs.
If you want to learn how to create your own shaders, you can read these pages:
* On Ogre wiki : ((HLSL|about HLSL shaders)) , ((Getting Started With Ogre CG Materials|about CG shaders)), ((How To Compile CG Files|how to check CG programs for errors)), and the [http://www.ogre3d.org/docs/manual/|Ogre manual] pages.
* Cg in two pages ([http://xxx.lanl.gov/ftp/cs/papers/0302/0302013.pdf|PDF doc])
* and [http://en.wikipedia.org/wiki/Cg_programming_language|wikipedia]
If you want to add a shader in this collection, please follow theses rules:
* add a __Description__ section where you describe the effect of your shader, eventually with a small __screenshot__, and eventually the credits if you get it from internet.
* add an __Usage__ section, where you describe how to implement your shader (including the custom parameters).
* add the __Vertex program__ and __Fragment program__ files.
* add the __material files__.
* add all necessary __pictures files__.