Skip to content

Commit 5d941e5

Browse files
committed
Fix typo in visual shaders regarding switch node
Clarified that the last sentence is an instruction, and rectified the state of the components necessary to provide the output as true
1 parent 7207b49 commit 5d941e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/shaders/visual_shaders.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Switch node
224224
~~~~~~~~~~~
225225

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

230230
.. image:: img/vs_switch.webp

0 commit comments

Comments
 (0)