Hi i just started with shaders and wanted to do a tutorial.
This is my code:
Code:
material mtlNormalMapped
{
flags = tangent; // Make sure the engine sends tangents to the shader (only
// needed for tangent space normal mapping)
effect = "NormalMapped.fx"; // This is the effect file that contains the shader code.
}
But when i include this in my main file i get an error saying:
material undiclared indentifier
Can someone please help me?