@Frank_G: A model 2 shader will work on a model 3 card... You don't need to change the code, it won't help.

@fear411: Simply include the <NM.wdl> in your project. Then apply the material to your models.

@All: Sorry, I forgot to add the static lighting code. I'll add it, fix the above mentioned problems, and maybe more.

I didn't use vecAmbient on purpose, because it wasn't working for me. I had included it (as a float4), but it always returned 1.0f in all slots.


I will update the code, and then send it to William, as he is currently my supervisor.


xXxGuitar511
- Programmer