Page 1 of 6

TGMs Shader Package[C++/GLSL]

PostPosted: Tue May 01, 2007 5:22 pm
by TheGameMaker
Hi,
After messing around with shaders a little bit, I think, i gonna release the results.
This are mainly Post Process Effects, but there is even a Goodlooking Lava Shader, and some WorkInProgress Stealth Shader(looks cool, but unforunably even if there should be a wall or stuff in the way^^)..
In the zip there are precompiled Demos and the source for every effect.
Furthermore there are main cpps, which show how to use the shaders(commented.. a little bit :lol:).
Ok a List of the shaders:
Blur
Radial Blur
Motion Blur
Bloom
Inverting
Coloring/Saturation

Lava

stealth(WIP)

and now a few Images:
Lava:
Image
Stealth:
Image
Blur:
Image
Radial Blur:
Image
Motion Blur:
Image
Bloom:
Image
Invert:
Image
and coloring and saturation
Image

Hope you like the Shaders! Here´s the Link:
http://rapidshare.com/files/28934132/TGMs_ShaderPack.rar.html

greetz TGM

PostPosted: Wed May 02, 2007 2:46 am
by Virion
Whoa... awesome! :o

PostPosted: Wed May 02, 2007 10:27 am
by jingquan
Awww, great stuff. Can someone reupload not to rapidshare plz, having lots of trouble with that host...

Thanks!

PostPosted: Wed May 02, 2007 11:25 am
by Virion
Hosted at FileFront:
http://files.filefront.com/TGMs_ShaderP ... einfo.html

Long time no login into my filefront account lol. By the way I found my speedtree setup in my filefront account... almost forget about it. Anyone who need it can download from my account. :D

PostPosted: Wed May 02, 2007 12:59 pm
by TheGameMaker
yeah. Thx for uploading it!

PostPosted: Wed May 02, 2007 1:08 pm
by Virion
TheGameMaker wrote:yeah. Thx for uploading it!

No problem. :wink:

Anyway, I like all the shaders very much especially "coloring and saturation". It can make the scene looks more realistic. :D Well, looking forward to your stealth shader. :D Keep it up!

PostPosted: Wed May 02, 2007 2:19 pm
by TheGameMaker
Anyway, I like all the shaders very much especially "coloring and saturation". It can make the scene looks more realistic. Very Happy Well, looking forward to your stealth shader.

yeah.. some slightly coloration makes a scene look much more realisitc...
the stealthshader... thats aproblem.. since Irrlich won´t allow me to access the depthbuffer of the first RT nor access to the alphachanel I would have to render the whole scenen twice...

PostPosted: Wed May 02, 2007 3:13 pm
by Anteater
Cool! What's the license for these shaders?

PostPosted: Wed May 02, 2007 3:23 pm
by TheGameMaker
do with it, what you want! its total free!
(but would be nice, if you say that you used my shaders :wink: ) but not necessary

PostPosted: Wed May 02, 2007 7:26 pm
by noreg
Shaders are always good. Lavashader only shows a black screen on my Radeon 9800. It worked after i put it in my own framework. How comes?

PostPosted: Thu May 03, 2007 1:43 am
by Halifax
Yo those shaders are sick man. I wish I was good at shaders. Also that stealth shader looks like Halo! Great shaders keep up the good work :shock:

PostPosted: Thu May 03, 2007 10:34 am
by sio2
In "PostProcessInvert.h" (and a few others) you have vertToonShader and fragToonShader as your shader names. Coincidently those are the names I used for my shaders in my ToonShader demo. Very curious. :P

PostPosted: Thu May 03, 2007 12:13 pm
by JPulham
THEY LOOK GREAT! :shock: Just what I need for my game.

Can't wait for the stealth shader to be finished :D

you said that the stealth effect appears through walls, maybe you could use stencil buffer? or copy the zbuffer and apply only to 'equal' depths on the model. This is just a few ideas. I don't know much about shaders.

PostPosted: Thu May 03, 2007 1:51 pm
by TheGameMaker
In "PostProcessInvert.h" (and a few others) you have vertToonShader and fragToonShader as your shader names. Coincidently those are the names I used for my shaders in my ToonShader demo. Very curious. Razz

yeah.. thats right! Ive read your tut, and copied the material loading^^
(i think, thats no problem, right??)

@JPulham.. that would be the best solution but unfortunably irrlicht onn´t let me do this..

PostPosted: Thu May 03, 2007 2:34 pm
by sio2
TheGameMaker wrote:
In "PostProcessInvert.h" (and a few others) you have vertToonShader and fragToonShader as your shader names. Coincidently those are the names I used for my shaders in my ToonShader demo. Very curious. Razz

yeah.. thats right! Ive read your tut, and copied the material loading^^
(i think, thats no problem, right??)


It's not a major problem but I always try and credit stuff I've used. I may inadvertently miss some things from time-to-time but at least I try.

One of the worst offenders was a guy who copied mine & DeusXL's code from the snippets section and passed it off as his own. I replied with something along the lines of that it seemed familiar and he deleted the whole topic and vanished - caught red-handed, I think.