mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Remove reference of `vertex` in particle shaders
(cherry picked from commit db0c9bb046)
This commit is contained in:
committed by
Max Hilbrunner
parent
f382d171cc
commit
f4679b0b57
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user