Skip to content

Commit

Permalink
Add CAMERA_VISIBLE_LAYERS to spatial shader docs (#9244)
Browse files Browse the repository at this point in the history
  • Loading branch information
xXAdrXx authored May 1, 2024
1 parent e8a7c7b commit 7c8f2cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tutorials/shaders/shader_reference/spatial_shader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,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). |
Expand Down

0 comments on commit 7c8f2cb

Please sign in to comment.