Browse Source

Merge pull request #7677 from br1trs/patch-2

Max Hilbrunner 2 years ago
parent
commit
b367537666
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tutorials/shaders/shader_reference/particle_shader.rst

+ 3 - 0
tutorials/shaders/shader_reference/particle_shader.rst

@@ -146,6 +146,9 @@ Process built-ins
 +------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
 | in vec3 **ATTRACTOR_FORCE**        | A combined force of the attractors at the moment on that particle.                                                                      |
 +------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
+| 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
 ^^^^^^^^^^^^^^^^^