That was going to be my next step for the shader, thanks for saving me the headache.

Originally Posted By: EvilSOB
take a look and see what you think

I think I love you!

(There is only one small problem, it now paints in both directions, upwards and downwards. I'm working on a quickfix.
http://www.youtube.com/watch?v=vDD66R_hIIg

For the fix I just changed this line from your vertex function:
Quote:
Height = abs(1-(InPos.y/InPos.w));

to this:
Quote:
Height = InPos.y;

http://www.youtube.com/watch?v=FrJyLcX49sk

Last edited by Carlos3DGS; 11/06/11 16:20.

"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1