I'm stuck here, I have obtained an fx file and can't apply the effect to my level walls, here is what I have done.
I'm posting my question here as I think this question is very trivial for the shader forum.
1- I put the fx file in the same directory as my game studio script file
2- created a material block with an effect pointing to the fx file
3- tried to assign the material to a wall in my level from the block properties then clicked material icon but the list is empty and I can't find my mterial in this list.
here is the code of my script
#include <acknex.h>
#include <default.c>
function main()
{
level_load("shop.wmb");
wait (2);
}
MATERIAL NormalMapped=
{
effect = "NormalMapped.fx";
}