This Shader collection even if not finished because of all the already existing problems was a lot of work and thus it would be very nice if you could give me credits if you are using it, but it is not needed.

If you want to support me, I have always some free space for good looking models and textures :P

The whole pack is splitted into two folders:
-Postprocessing Shaders
-Object Shaders

Both have to be included into your project as well as the PP_Main.h and the OS_Main.h.
Each shader needs the _Helper.c file to run, other than that they are all working absolutly independant of each other. Some of the shaders have fallback which is automatically used if the better shader is not supported.
To use one of the shaders you just have to call its Shadername_Init(some parameters) function. For the postprocessing shaders there are also functions to make it fit to a new screenresolution.

The OS_O_Shadername.c are meant for outdoor scenes supporting the sun. OS_I_Shadername.c is meant for indoor scenes without sun.
OS_CO_Shadername.c and OS_CI_Shadername.c are the same but with clipping. Those shaders should be used when you have water within your level.

For more information have a look at the files.


I hope you like it smile

If you have any problems, post it here smile



Nils Daumann


Here is a screenshot of the collection in action:



And finally the downloadlink .

Last edited by Slin; 05/22/08 19:29.