Skip to content

Commit

Permalink
Merge pull request godotengine#10502 from The-oldone/Fix-typo-in-visu…
Browse files Browse the repository at this point in the history
…al-shaders

Fix `Switch` node boolean conversion description in Visual shaders
  • Loading branch information
mhilbrunner authored Jan 16, 2025
2 parents 6e1144a + 5d941e5 commit 8f772f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/shaders/visual_shaders.rst
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Switch node
~~~~~~~~~~~

The ``Switch`` node returns a vector if the boolean condition is ``true`` or
``false``. ``Boolean`` was introduced above. If you convert a vector to a true
boolean, all components of the vector should be above zero.
``false``. ``Boolean`` was introduced above. If you want to convert a vector
to a true boolean, all components of the vector should be non-zero.

.. image:: img/vs_switch.webp

0 comments on commit 8f772f6

Please sign in to comment.