Quote:

i take it back, still get warping... still testing




This shader requires a fair amount of tweaking depending upon the variables involved. I found no short answer to this... but managed to understand much of what is involded. I may get around to testing it some more when it becomes necessary for the use of the effect.

Quote:

I donīt get it working too. But I think my grafic card doesnīt support it (geforce FX 5600). The model is completly white.


EDIT: I tried now the normal mapping shader, and I have exactly the same problem. The model is white (very light grey).






Try making nofog equal to on, and see what happens.



Quote:

The code is very short , and if short means more fast to executre no ?






Short won't always mean fast. It could be a short code but heavy on the mathes and such. The best thing to do with this shader would be to convert to ASM and look for optimizations and determining if anything can be moved to alpha to utilize a parallel pipe.