Add documentation for new LIGHT_VERTEX shader builtin

This commit is contained in:
clayjohn
2024-04-26 16:01:38 -07:00
parent 3c83856d2b
commit 34a89bb461

View File

@@ -293,6 +293,9 @@ these properties, and if you don't write to them, Godot will optimize away the c
+----------------------------------------+--------------------------------------------------------------------------------------------------+
| in vec3 **VERTEX** | Vertex that comes from vertex function (default, in view space). |
+----------------------------------------+--------------------------------------------------------------------------------------------------+
| inout vec3 **LIGHT_VERTEX** | A writable version of ``VERTEX`` that can be used to alter light and shadows. Writing to this |
| | will not change the position of the fragment. |
+----------------------------------------+--------------------------------------------------------------------------------------------------+
| in int **VIEW_INDEX** | The view that we are rendering. |
| | ``VIEW_MONO_LEFT`` (``0``) for Mono (not multiview) or |
| | left eye, ``VIEW_RIGHT`` (``1``) for right eye. |