Hi,

I guess you are using lite-c.

In lite-c a material is defined the following way:

Code:

MATERIAL* mtlNormalMapped =
{
...
}



The code you have posted works mit c-script only.