瀏覽代碼

NormalMatrix is a mat3;

bjorn 2 年之前
父節點
當前提交
441a21a6eb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      guides/Shaders.md

+ 1 - 1
guides/Shaders.md

@@ -213,7 +213,7 @@ The following built-in variables are available only in vertex shaders:
     </tr>
     <tr>
       <td><code>NormalMatrix</code></td>
-      <td>mat4</td>
+      <td>mat3</td>
       <td>Transforms normal vectors from local space to world space.</td>
     </tr>
     <tr>