Perhaps your card does not support PS2.0... Change these two lines to match what I have here:
Quote:


VertexShader = compile vs_1_0 vs_main();
PixelShader = compile ps_1_1 ps_main();





-Rhuarc


I no longer post on these forums, keep in touch with me via:
Linkedin.com
My MSDN blog