Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tutorials/shaders/shader_reference/spatial_shader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ shader, this value can be used as desired.
+----------------------------------------+--------------------------------------------------------+
| in vec4 **CUSTOM3** | Custom value from vertex primitive. |
+----------------------------------------+--------------------------------------------------------+
| out float **Z_CLIP_SCALE** | If written to, scales the vertex towards the camera to |
| | avoid clipping into things like walls. |
+----------------------------------------+--------------------------------------------------------+

.. note::

Expand Down