Out.Sun = mul(worldToTangentSpace, -vecSunDir);

You may need to remove the (red) - ...

I'm not sure...


xXxGuitar511
- Programmer