Ogre材质脚本
2014-09-25 16:28
302 查看
Ogre SDK版本: 1.9.0
Ogre SDK的media/materials/scripts 目录下的Example.mateiral, 示例材质。
Ogre材质脚本语法
注释: // 单行注释
/**/ 多行注释
关键字:
texture 定义纹理 如:
texture XXXXX.jpg
ambient 设置环境光如:
ambient 1.0 1.0 1.0
diffuse 满反射光
shading phong 着色模式
One - 常数1.0
Zero - 常数0
lighting on
lighting off
scene_blend <src_factor> <dest_factor> 混合方式
Ogre SDK的media/materials/scripts 目录下的Example.mateiral, 示例材质。
Ogre材质脚本语法
注释: // 单行注释
/**/ 多行注释
关键字:
texture 定义纹理 如:
texture XXXXX.jpg
ambient 设置环境光如:
ambient 1.0 1.0 1.0
diffuse 满反射光
shading phong 着色模式
One - 常数1.0
Zero - 常数0
lighting on
lighting off
scene_blend <src_factor> <dest_factor> 混合方式
相关文章推荐
- Ogre 光,材质与材质脚本
- ogre中的材质脚本 (一)
- Ogre材质脚本属性
- Ogre材质脚本属性
- ogre中的材质脚本
- OGRE的材质脚本 (二)
- 利用Notepad++高亮Ogre 材质脚本 Ogre material script highlight in Notepad++
- 【Ogre编程入门与进阶】第十二章 Ogre脚本、材质与纹理
- OGRE的材质脚本 (一)
- 转-Ogre材质脚本关健字说明
- OGRE的材质脚本 (三)
- OGRE的材质脚本 (二)
- 使用boost spirit库解析ogre材质脚本
- OGRE中的材质脚本
- OGRE的材质脚本 (四)
- Ogre材质脚本中定义参数变量
- OGRE的材质脚本 (三)
- ogre3D学习基础18 -- 材质的使用与脚本的简单书写
- OGRE的材质脚本属性(一)
- OGRE的材质脚本 (四)