This was made from the tutorial that came with SMEE2. When I try to run the engine, I get the following error. The fx file goes in the work folder with the wld file, correct?
A6 engine - commercial release V6.31.4 - Nov 18 2004
SMEE2
Error message...
Loading demo.wdl
<effect = "bumpmap.fx" }>
demo.wdl 249:-1 Error(6): Script error last line
Script error
Engine shutdown
Code:
////////////////////////////////////////////////////////////
// Shader: Bumpmap
// Author: Atlantis
//
// Generated by SMEE v2.0
// http://www.smee2.com/
////////////////////////////////////////////////////////////
// title: Bumpmap
// Section: This shader was created with SMEE2
// section: Images
material Bumpmap
{
ambient_red = 255;
ambient_green = 255;
ambient_blue = 255;
diffuse_red = 255;
diffuse_green = 255;
diffuse_blue = 255;
specular_red = 0;
specular_green = 0;
specular_blue = 0;
emissive_red = 0;
emissive_green = 0;
emissive_blue = 0;
albedo = 50.195;
power = 0;
effect = "bumpmap.fx"
}
action SHADER_Bumpmap
{
my.material = Bumpmap;
}