Browse Source

add USERDATA* built in reference

Bruno 2 năm trước cách đây
mục cha
commit
a88b6888b7
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      tutorials/shaders/shader_reference/particle_shader.rst

+ 2 - 1
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
 ^^^^^^^^^^^^^^^^^