From 5d941e522de5bb10faaddc900063e1c290aa3f64 Mon Sep 17 00:00:00 2001 From: fearwalia <139103754+The-oldone@users.noreply.github.com> Date: Mon, 13 Jan 2025 19:19:08 +0530 Subject: [PATCH] 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 --- tutorials/shaders/visual_shaders.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/shaders/visual_shaders.rst b/tutorials/shaders/visual_shaders.rst index 7b1b32d85..2aaf54225 100644 --- a/tutorials/shaders/visual_shaders.rst +++ b/tutorials/shaders/visual_shaders.rst @@ -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