瀏覽代碼

Document Material Overlay (#5826)

Co-authored-by: Hugo Locurcio <[email protected]>
Matthew 3 年之前
父節點
當前提交
b5a8c3c217
共有 2 個文件被更改,包括 6 次插入3 次删除
  1. 二進制
      tutorials/3d/img/add_material.png
  2. 6 3
      tutorials/3d/spatial_material.rst

二進制
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``.
 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 *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
 .. 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
 It will also override the regular material property of the node and the material property of
 the mesh.
 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
 Flags
 -----
 -----