Skip to content

Commit

Permalink
Merge pull request #8938 from clayjohn/MAIN_CAM_INV_VIEW_MATRIX
Browse files Browse the repository at this point in the history
Add description for MAIN_CAM_INV_VIEW_MATRIX to spatial shader doc page
  • Loading branch information
mhilbrunner authored Feb 20, 2024
2 parents 3f6be8b + ba670f5 commit d293c2b
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 d293c2b

Please sign in to comment.