I tried your code, Matt, and it comes up with the error:
" Error in effect: Brick "
Brick in my case, is the texture im assigning the shader to.
Code:
bmap yourenv_map=<spheresky2+6.tga>;
bmap yourDOT3map, <brick_normDOT3.tga>;
bmap yourtexture = <brick.tga>;
material brick
{
skin1=yourDOT3map;
Skin3=yourtexture;
skin4=yourenv_map;
flags = tangent;
}
function main()
{
d3d_anisotropy = 0;
fps_max = 100;
shadow_stencil = on;
d3d_automaterial=1;
var d3d_automaterial=1;
effect_load(spec_bump_model,"spec_bump_model.fx");
effect_load(brick1,"spec_bump_world.fx");
effect_load(brick,"specmap_level.fx");
wait(5);
level_load("bump_map.wmb");
wait(3);
}
Perhaps theirs a problem with the fx file?