i am starting with the programming of shaders and i do not really improve.
when i am trying a simple thing like this:
Code:
material firstshader
{
effect = "
ps 1.3
def c0, 1.0f, 0.0f, 1.0f, 0.0f
";
}
action tree
{
my.material = firstshader;
}


the engine crushes down and a window appears saying something about a syntax error in the effect.

whats the problem?


---------------------------------- www.xiron.de