Code:
 
material mat_model
{
effect="
technique hardedge{
pass p0{
ShadeMode=flat;
}
}";
}



This overrides the shading of all models (if they have not other materials).


www.Swollen-Eyeballs.org
ICQ:169213431
#3dgs@quakenet