Here is what I have:
Code:
material mat_normalmap
{
flags=tangent;
}
Is under the "Includes" in the main script.
I have the rest of the code placed at the bottom like so:
Code:
/////////////////////////////////////////////////////////////////
//INCLUDE <debug.wdl>;
function load_shaders2()
{
effect_load(mat_normalmap,"normalmap.fx");
while(1){
mat_normalmap.skill1=float(sun_pos.x);
mat_normalmap.skill2=float(sun_pos.z);
mat_normalmap.skill3=float(sun_pos.y);
wait(1);}
}
I am using a model with colormap (with specular in alpha) in skin1 32bit and normal map in skin2 24 bit. Used this model successfully with ultimate lighting shader. I do have normalmap.fx in my work folder. still no bump or spec, I am hoping I just placed these in the wrong section of script and someone will be able to point out where they "should" go. Thank you.