Skip to content

Commit

Permalink
Add description for MAIN_CAM_INV_VIEW_MATRIX to spatial shader doc page
Browse files Browse the repository at this point in the history
  • Loading branch information
clayjohn committed Feb 10, 2024
1 parent 5062d09 commit ba670f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tutorials/shaders/shader_reference/spatial_shader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ shader, this value can be used as desired.
+----------------------------------------+--------------------------------------------------------+
| in mat4 **INV_VIEW_MATRIX** | View space to world space transform. |
+----------------------------------------+--------------------------------------------------------+
| in mat4 **MAIN_CAM_INV_VIEW_MATRIX** | View space to world space transform of camera used to |
| | draw the current viewport. |
+----------------------------------------+--------------------------------------------------------+
| in mat4 **INV_PROJECTION_MATRIX** | Clip space to view space transform. |
+----------------------------------------+--------------------------------------------------------+
| in vec3 **NODE_POSITION_WORLD** | Node world space position. |
Expand Down

0 comments on commit ba670f5

Please sign in to comment.