Skip to content

Commit

Permalink
Merge pull request #8921 from paddy-exe/remove-references-vertex-part…
Browse files Browse the repository at this point in the history
…icles-shader

Remove reference of ``vertex`` in particle shaders
  • Loading branch information
mhilbrunner authored Feb 20, 2024
2 parents d293c2b + db0c9bb commit 8cf168e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tutorials/shaders/introduction_to_shaders.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ are seven different processor functions.
:ref:`spatial shaders <doc_spatial_shader>`.

4. The ``start()`` function runs for every particle in a particle system once
when the particle is first spawned. Used in
when the particle is first spawned. Used in
:ref:`particles shaders <doc_particle_shader>`.

5. The ``process()`` function runs for every particle in a particle system for
Expand Down Expand Up @@ -139,8 +139,7 @@ Vertex processor
^^^^^^^^^^^^^^^^

The ``vertex()`` processing function is called once for every vertex in
``spatial`` and ``canvas_item`` shaders. For ``particles`` shaders, it is called
once for every particle.
``spatial`` and ``canvas_item`` shaders.

Each vertex in your world's geometry has properties like a position and color.
The function modifies those values and passes them to the fragment function. You
Expand Down

0 comments on commit 8cf168e

Please sign in to comment.