Ogre2.1 分析笔记(七) 材质脚本分析

来源:互联网 发布:mac如何删除系统软件 编辑:程序博客网 时间:2024/05/18 03:59

material material_name

         {

                   technique

                   {

                            pass

                            {

                                     texture_unit

                                     {

                                              

}

}

}

}


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