Mudlord if you look at the (cel) fx file you'll see that this shader is totally ghetto rigged there is allot of useless junk in there like the bright pass and bloom code which can be deleted, I kind of just whipped this up quick. The edge detect shader isn't that great ether I modified it the best I could but other shader passes don't like to work with it. I've been Looking for a better edge detect shader for while now and haven't had much luck. As far as the source code go's modifying and rebuilding it has also been tricky. The current DLL only seems to support two passes and seems to have a hard time using long assembly passes.
I notice for me at least that this shader runs Mario with just a black and white edge detect effect, so some games handle the effect differently.
Also this might interest you, I have nothing to do with it but its a very nice Bloom effect for opengl. It works in opengl mode but there are a few problems you might want to check it out http://www.madabouthats.org/projects/cgshader


Reply With Quote


..So far, its not going well, since I can't get your original mod to work. Though, once I get it working well, I might then be able to test out the DLL more thoroughly and add more shaders...
