From 27a205a9ccdd568120130fa05bfcbc7caf21b84d Mon Sep 17 00:00:00 2001 From: tetrapod00 <145553014+tetrapod00@users.noreply.github.com> Date: Sat, 10 Aug 2024 21:18:35 -0700 Subject: [PATCH] Update spatial_shaders.rst with CUSTOM0,1,2,3 descriptions. --- tutorials/shaders/shader_reference/spatial_shader.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tutorials/shaders/shader_reference/spatial_shader.rst b/tutorials/shaders/shader_reference/spatial_shader.rst index 1e030dd1723..5bf8dbea4de 100644 --- a/tutorials/shaders/shader_reference/spatial_shader.rst +++ b/tutorials/shaders/shader_reference/spatial_shader.rst @@ -230,13 +230,16 @@ shader, this value can be used as desired. +----------------------------------------+--------------------------------------------------------+ | in vec4 **BONE_WEIGHTS** | | +----------------------------------------+--------------------------------------------------------+ -| in vec4 **CUSTOM0** | | +| in vec4 **CUSTOM0** | Custom value from vertex primitive. When using extra | +| | UVs, ``xy`` is UV3 and ``zw`` is UV4. | +----------------------------------------+--------------------------------------------------------+ -| in vec4 **CUSTOM1** | | +| in vec4 **CUSTOM1** | Custom value from vertex primitive. When using extra | +| | UVs, ``xy`` is UV5 and ``zw`` is UV6. | +----------------------------------------+--------------------------------------------------------+ -| in vec4 **CUSTOM2** | | +| in vec4 **CUSTOM2** | Custom value from vertex primitive. When using extra | +| | UVs, ``xy`` is UV7 and ``zw`` is UV8. | +----------------------------------------+--------------------------------------------------------+ -| in vec4 **CUSTOM3** | | +| in vec4 **CUSTOM3** | Custom value from vertex primitive. | +----------------------------------------+--------------------------------------------------------+ .. note::