From f4679b0b57c5ecaeaed59072364f8ee6873fd928 Mon Sep 17 00:00:00 2001 From: Patrick Exner Date: Wed, 7 Feb 2024 14:41:11 +0100 Subject: [PATCH] Remove reference of ``vertex`` in particle shaders (cherry picked from commit db0c9bb0462d5e098c057c7b34568f131d62419f) --- tutorials/shaders/introduction_to_shaders.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tutorials/shaders/introduction_to_shaders.rst b/tutorials/shaders/introduction_to_shaders.rst index f776a1f66..a6095ef69 100644 --- a/tutorials/shaders/introduction_to_shaders.rst +++ b/tutorials/shaders/introduction_to_shaders.rst @@ -70,7 +70,7 @@ are seven different processor functions. :ref:`spatial shaders `. 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 `. 5. The ``process()`` function runs for every particle in a particle system for @@ -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