Ver código fonte

add USERDATA* built in reference

Bruno 2 anos atrás
pai
commit
a88b6888b7

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