Browse Source

Merge pull request #7139 from nake90/patch-1

Fix small typos in the particle shader doc
Max Hilbrunner 2 years ago
parent
commit
eb53d52e10
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tutorials/shaders/shader_reference/particle_shader.rst

+ 2 - 2
tutorials/shaders/shader_reference/particle_shader.rst

@@ -14,7 +14,7 @@ CanvasItem of Spatial shader. They contain two processor functions: ``start()``
 and ``process()``.
 
 Unlike other shader types, particle shaders keep the data that was output the
-previous frame. Therefore, particle shaders ca be used for complex effects that
+previous frame. Therefore, particle shaders can be used for complex effects that
 take place over multiple frames.
 
 .. note::
@@ -85,7 +85,7 @@ Start and Process built-ins
 +---------------------------------+--------------------------------------------------------------------------------+
 | in uint **RANDOM_SEED**         | Random seed used as base for random.                                           |
 +---------------------------------+--------------------------------------------------------------------------------+
-| inout bool **ACTIVE**           | ``true`` when Particle is active, can be set ``false``.                        |
+| inout bool **ACTIVE**           | ``true`` when the particle is active, can be set ``false``.                    |
 +---------------------------------+--------------------------------------------------------------------------------+
 | inout vec4 **COLOR**            | Particle color, can be written to and accessed in mesh's vertex function.      |
 +---------------------------------+--------------------------------------------------------------------------------+