Here is a demo of a few of the shaders I have created to emulate a flashlight.
These shaders use a projected texture I made and have a few quality levels
for slower machines.
You toggle the normal mapping support on and off with key 1
You toggle the shadow mapping from the flashlight on and off with key 2
You toggle the film grain effect on/off with key 3 (off default)
I made some shaders that are identical, but use per pixel spotlight cones
instead of projection, they are faster, but not as nice as this method.
This is just a small room with a couple of normal mapped models in it.
The intention is to demonstrate the shaders, I know the environment
stinks! So you are not really missing much if you dont download the ~34 meg demo.
These shaders are still a work in progress as part of a larger work.
I never thought I would be able to do this stuff with Gamestudio, but lately
the engine is really changing!
Thanks for looking!
Rapidshare 34MB Download File Front Download