Hello everyone , for one of my current projects , I modified the shader guitarxxx had posted on the contributions , the 3 light shader , I changed it to be a 2 dynamic light shader (no sun) , and a 1 dynamic light shader(no sun). I mainly did this for speed reasons , the shader runs much faster with just 2 lights and only one pass, and even faster with just one light, so I'd thought I'd share here , maybe someone can find it usefull as well.
In the rar there are the scripts you need , all you need to do is copy them to your project folder , and include normalMapping.wdl in your main script , and give your entities the action nMapping1L for 1 light and nMapping2L for using 2 lights.
Heres the link:
http://www.bloodychainsaw.com/normalmap/NormalMapping.rar
Here are some images

2 Lights




1 Light









Last edited by Why_Do_I_Die; 12/06/08 11:55.