Browse Source

Document Material Overlay (#5826)

Co-authored-by: Hugo Locurcio <[email protected]>
Matthew 3 years ago
parent
commit
b5a8c3c217
2 changed files with 6 additions and 3 deletions
  1. BIN
      tutorials/3d/img/add_material.png
  2. 6 3
      tutorials/3d/spatial_material.rst

BIN
tutorials/3d/img/add_material.png


+ 6 - 3
tutorials/3d/spatial_material.rst

@@ -12,10 +12,10 @@ it can be converted to shader code if additional functionality is needed.
 
 This tutorial explains most parameters present in ``SpatialMaterial``.
 
-There are three ways to add a ``SpatialMaterial`` to an object. It can be added in
+There are 4 ways to add a ``SpatialMaterial`` to an object. It can be added in
 the *Material* property of the mesh. It can be added in the *Material* property of
-the node using the mesh (such as a MeshInstance node), or in the *Material Override*
-property of the node using the mesh.
+the node using the mesh (such as a MeshInstance node), the *Material Override* property
+of the node using the mesh, and the *Material Overlay*.
 
 .. image:: img/add_material.png
 
@@ -26,6 +26,9 @@ added in the *Material Override* property of the node, it will only be used by t
 It will also override the regular material property of the node and the material property of
 the mesh.
 
+The *Material Overlay* property will render a material **over** the current one being used by the
+mesh. As an example, this can be used to put a transparent shield effect on a mesh.
+
 Flags
 -----