I need a simple shader, but I have no experiences with shaders... :'(
I found many tutorials on the web, but I have no time (and pacience) to dig through tons od tutorial just for a single shader...
what I need is a shader that darkens/lightens the scene depending on a value...
maybe a value from 0 to 100 (0 = dark and 100 = bright)...
I want to create a day/night/dusk/dawn effect...
I guess this would be a post process shader, right ???
mainly I need it for dx, but one for ogl in addition would be great, too !!!

also I'm not sure how to use post process shaders with Irrlicht, the shader tutorial only shows the use with scene nodes...
or do I simply have to set the shader to the camera node for this ???
I hope someone is so kind...

thx, Acki