From a88b6888b7f4815c6e52440836a38f4235d6757d Mon Sep 17 00:00:00 2001 From: Bruno <88297220+br1trs@users.noreply.github.com> Date: Mon, 17 Jul 2023 00:43:33 -0600 Subject: [PATCH 1/3] add USERDATA* built in reference --- tutorials/shaders/shader_reference/particle_shader.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/shaders/shader_reference/particle_shader.rst b/tutorials/shaders/shader_reference/particle_shader.rst index 37a01aa3abe..77008cf094f 100644 --- a/tutorials/shaders/shader_reference/particle_shader.rst +++ b/tutorials/shaders/shader_reference/particle_shader.rst @@ -146,7 +146,8 @@ Process built-ins +------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+ | in vec3 **ATTRACTOR_FORCE** | A combined force of the attractors at the moment on that particle. | +------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+ - +| in vec4 **USERDATA\*** | Vectors that enable the integration of supplementary user-defined data into the particle process shader. | ++------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+ Process functions ^^^^^^^^^^^^^^^^^ From f2bfa933a2561473e56d2c0cc8e929c89b80bb9e Mon Sep 17 00:00:00 2001 From: Bruno <88297220+br1trs@users.noreply.github.com> Date: Mon, 17 Jul 2023 22:59:00 -0600 Subject: [PATCH 2/3] Update tutorials/shaders/shader_reference/particle_shader.rst Co-authored-by: Clay John --- tutorials/shaders/shader_reference/particle_shader.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/tutorials/shaders/shader_reference/particle_shader.rst b/tutorials/shaders/shader_reference/particle_shader.rst index 77008cf094f..ecfe58fc0c9 100644 --- a/tutorials/shaders/shader_reference/particle_shader.rst +++ b/tutorials/shaders/shader_reference/particle_shader.rst @@ -148,6 +148,7 @@ Process built-ins +------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+ | in vec4 **USERDATA\*** | Vectors that enable the integration of supplementary user-defined data into the particle process shader. | +------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+ + Process functions ^^^^^^^^^^^^^^^^^ From ca634145ac8df905444d8500dba39fe21a7df328 Mon Sep 17 00:00:00 2001 From: Bruno <88297220+br1trs@users.noreply.github.com> Date: Tue, 18 Jul 2023 00:31:49 -0600 Subject: [PATCH 3/3] Update particle_shader.rst --- tutorials/shaders/shader_reference/particle_shader.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/shaders/shader_reference/particle_shader.rst b/tutorials/shaders/shader_reference/particle_shader.rst index ecfe58fc0c9..40e9b5f813c 100644 --- a/tutorials/shaders/shader_reference/particle_shader.rst +++ b/tutorials/shaders/shader_reference/particle_shader.rst @@ -146,7 +146,8 @@ Process built-ins +------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+ | in vec3 **ATTRACTOR_FORCE** | A combined force of the attractors at the moment on that particle. | +------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+ -| in vec4 **USERDATA\*** | Vectors that enable the integration of supplementary user-defined data into the particle process shader. | +| in vec4 **USERDATAX** | Vector that enables the integration of supplementary user-defined data into the particle process shader. | +| | ``USERDATAX`` are six built-ins identified by number, ``X`` can be numbers between 1 and 6. | +------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+ Process functions