Try moving all of your vertex shader code above your technique (both the structs and VS_main).

-Rhuarc


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