mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Merge pull request #7536 from rametta/patch-1
Updates to visual_shaders.rst to show new way to create visual shaders
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 9.6 KiB |
BIN
tutorials/shaders/img/visual_shader_create.webp
Normal file
BIN
tutorials/shaders/img/visual_shader_create.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
BIN
tutorials/shaders/img/visual_shader_create2.webp
Normal file
BIN
tutorials/shaders/img/visual_shader_create2.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
@@ -26,10 +26,14 @@ VisualShaders, create a new ``ShaderMaterial`` in an object of your choice.
|
||||
|
||||
Then assign a :ref:`class_VisualShader` resource to the ``Shader`` property.
|
||||
|
||||
.. image:: img/visual_shader_create.png
|
||||
.. image:: img/visual_shader_create.webp
|
||||
|
||||
Click on the new ``VisualShader`` resource and the Visual Shader Editor will
|
||||
open automatically. The layout of the Visual Shader Editor comprises two parts:
|
||||
Click on the new ``Shader`` resource and the Create Shader dialog will
|
||||
open automatically. Change the Type option to VisualShader in the dropdown.
|
||||
|
||||
.. image:: img/visual_shader_create2.webp
|
||||
|
||||
The layout of the Visual Shader Editor comprises two parts:
|
||||
the upper toolbar and the graph itself.
|
||||
|
||||
.. image:: img/visual_shader_editor2.png
|
||||
|
||||
Reference in New Issue
Block a user