mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Add description for MAIN_CAM_INV_VIEW_MATRIX to spatial shader doc page
This commit is contained in:
@@ -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. |
|
||||
|
||||
Reference in New Issue
Block a user