Update shader material page for Godot 3.1

This commit is contained in:
skyace65
2019-08-15 15:13:26 -04:00
parent 294fdc7e5c
commit a38f13ba1d
6 changed files with 21 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

@@ -36,10 +36,25 @@ Create a new ShaderMaterial in some object of your choice. Go to the
.. image:: img/shader_material_create.png
Edit the newly created shader, and the shader editor will open:
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.
Choose one of them and you can start editing your shader.
.. image:: img/shader_create.png
If you create a regular shader click on it and the shader editor will open.
.. image:: img/shader_material_editor.png
If you create a visual shader the visual shader editor will open automatically.
.. image:: img/visual_shader_editor.png
Converting to ShaderMaterial
----------------------------
@@ -48,3 +63,8 @@ ParticlesMaterial to ShaderMaterial. To do so, go to the material properties
and select the convert option.
.. image:: img/shader_material_convert.png
.. note::
Using the convert option will turn the SpatialMaterial into a ShaderMaterial
with a text shader, not a visual shader.