From ba670f53b7ac27fa1e33f864a41171cf80e1aa49 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Fri, 9 Feb 2024 17:51:50 -0800 Subject: [PATCH] Add description for MAIN_CAM_INV_VIEW_MATRIX to spatial shader doc page --- tutorials/shaders/shader_reference/spatial_shader.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tutorials/shaders/shader_reference/spatial_shader.rst b/tutorials/shaders/shader_reference/spatial_shader.rst index 812067de0..69c25c9ed 100644 --- a/tutorials/shaders/shader_reference/spatial_shader.rst +++ b/tutorials/shaders/shader_reference/spatial_shader.rst @@ -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. |