From 265e537b95c43b82e5a1204e02c7a963291379e7 Mon Sep 17 00:00:00 2001 From: xXAdrXx <89416940+xXAdrXx@users.noreply.github.com> Date: Wed, 1 May 2024 12:33:58 -0400 Subject: [PATCH] Add `CAMERA_VISIBLE_LAYERS` to spatial shader docs (#9244) (cherry picked from commit 7c8f2cb5efc9c5b9e96bbf00c0e7b8c29aea0f06) --- tutorials/shaders/shader_reference/spatial_shader.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tutorials/shaders/shader_reference/spatial_shader.rst b/tutorials/shaders/shader_reference/spatial_shader.rst index 8f2ac2b82..42ea55c25 100644 --- a/tutorials/shaders/shader_reference/spatial_shader.rst +++ b/tutorials/shaders/shader_reference/spatial_shader.rst @@ -169,6 +169,8 @@ shader, this value can be used as desired. +----------------------------------------+--------------------------------------------------------+ | in vec3 **CAMERA_DIRECTION_WORLD** | Camera world space direction. | +----------------------------------------+--------------------------------------------------------+ +| in int **CAMERA_VISIBLE_LAYERS** | Cull layers of the camera rendering the current pass. | ++----------------------------------------+--------------------------------------------------------+ | in bool **OUTPUT_IS_SRGB** | ``true`` when output is in sRGB color space | | | (this is ``true`` in the Compatibility renderer, | | | ``false`` in Forward+ and Forward Mobile). |