mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Add documentation for new LIGHT_VERTEX shader builtin
This commit is contained in:
@@ -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. |
|
||||
|
||||
Reference in New Issue
Block a user