How to write your own material file [closed]
I want to config the material of my model, but I don't know how to write it.
material RoboCup/Carpet
{
technique
{
pass
{
ambient 1.0 1.0 1.0 1.0
diffuse 1.0 1.0 1.0 1.0
specular 0.2 0.2 0.2 1.0 12.5
texture_unit
{
scale 0.1 0.1
texture carpet.jpg
filtering trilinear
}
}
}
}
Like this material file. Where can I find the meaning of the parameters? And where can I find the whole parameters that can be set in this file?
Thanks a lot.