material material_name
{
technique
{
pass
{
texture_unit
{
}
}
}
}
Technique 用来指定渲染一个物体的方式。Pass与合成器脚本中的pass意义相同。每个Section的具体可定义参数可参照https://ogrecave.github.io/ogre/api/1.10/Material-Scripts.html#texture
material material_name
{
technique
{
pass
{
texture_unit
{
}
}
}
}