I have read this post a hundred times, and somehow, in my stupidity, I was calling the function ABOVE the level load. Now it is BELOW where it belongs and its working. Thank you again matt, for opening my eyes. I knew it would be something stupid that I missed. I rated you a star.

By the way, Nice looking shader matt. And not a bad framerate too. Best framerate I've had with shaders

Last edited by zefor; 01/12/06 18:52.