浏览代码

Documented material fill mode.

Lasse Öörni 10 年之前
父节点
当前提交
f9c8cb073a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Docs/Reference.dox

+ 2 - 1
Docs/Reference.dox

@@ -891,7 +891,7 @@ OpenGL ES 2.0 has further limitations:
 
 Material and Technique resources define how to render 3D scene geometry. On the disk, they are XML data. Default and example materials exist in the bin/CoreData/Materials & bin/Data/Materials subdirectories, and techniques exist in the bin/CoreData/Techniques subdirectory.
 
-A material defines the textures, shader parameters and culling mode to use, and refers to one or several techniques. A technique defines the actual rendering passes, the shaders to use in each, and all other rendering states such as depth test, depth write, and blending.
+A material defines the textures, shader parameters and culling & fill mode to use, and refers to one or several techniques. A technique defines the actual rendering passes, the shaders to use in each, and all other rendering states such as depth test, depth write, and blending.
 
 A material definition looks like this:
 
@@ -904,6 +904,7 @@ A material definition looks like this:
     <parameter ... />
     <cull value="cw|ccw|none" />
     <shadowcull value="cw|ccw|none" />
+    <fill value="solid|wireframe|point" />
     <depthbias constant="x" slopescaled="y" />
 </material>
 \endcode