Hi,

I know that there's a 'DoLight' function in default.fx, and it works fine while using only one light (I'm using "DoLight(inPos,inNormal,0);"),
however I don't know how to use it when I want all 8 lights to affect my shader - can anyone show me a simple shader example of how to do that? smile