Browse Source

NormalMatrix is a mat3;

bjorn 2 years ago
parent
commit
441a21a6eb
1 changed files with 1 additions and 1 deletions
  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>