diff --git a/tutorials/shading/img/visual_shader_code.png b/tutorials/shading/img/visual_shader_code.png new file mode 100644 index 000000000..97eafa8a7 Binary files /dev/null and b/tutorials/shading/img/visual_shader_code.png differ diff --git a/tutorials/shading/img/visual_shader_editor.png b/tutorials/shading/img/visual_shader_editor.png index 9b95df412..f52db695a 100644 Binary files a/tutorials/shading/img/visual_shader_editor.png and b/tutorials/shading/img/visual_shader_editor.png differ diff --git a/tutorials/shading/shader_materials.rst b/tutorials/shading/shader_materials.rst index 204b8bb82..13eadcd7c 100644 --- a/tutorials/shading/shader_materials.rst +++ b/tutorials/shading/shader_materials.rst @@ -40,8 +40,8 @@ Next, click on the shader material to see its properties. From here you can create a shader or visual shader. Regular shaders use code to set their properties while a visual shader uses a node based workflow. -There is no way to convert between the two, so if you decide you want to -change to a visual shader or vice versa, you will have to start from scratch. +If you need to you can convert a visual shader to a text shader. +However you can't convert a text shader to a visual shader. Choose one of them and you can start editing your shader. @@ -55,6 +55,13 @@ If you create a visual shader the visual shader editor will open automatically. .. image:: img/visual_shader_editor.png +In the visual shader editor you can click a button and see what your visual +shader looks like as shader code. This can be useful if you're trying to +replicate a text shader as nodes, or it can be used as a preview for converting +your visual shader to a text shader. + +.. image:: img/visual_shader_code.png + Converting to ShaderMaterial ----------------------------