Page 1 of 1

Trouble with motion blur effect

Posted: Mon Aug 27, 2007 10:37 pm
by Yarcanox
hi @ all

I found a nice motion blur effect on the code snippets forum - but its shaders doesn't compile on my graphic card!
At first I thought, my GeForce4 would be too old - but then someone in the thread mentioned something like "ohh nice it's already working with PS 1.1", and - I don't know that much about pixel shaders - I think that the GeForce 4 Ti supports PS 1.1!
I am working using OpenGL and irrlicht prints a startmessage with GLSL Version 1.3, and this shows me that I got GLSL which seems to be used for this motion blur effect.

But it doesn't compile somehow - maybe just a simple mistake, because I have not much knowledge about shaders, and it seemed to have worked for everything else who posted in this thread.

Here is it, including the source code which is really easy to integrate - just one external file to include, and two or three lines into the mainloop, and it *should* work if I didn't get the instructions wrong - but for me, it doesn't :(
"GLSL shader failed to compile" - and in the game, everything is just like it always was, no effect at all.