Browse Source

Merge pull request #2976 from skyace65/AddSpatial

Explain how to add a SpatialMaterial to a mesh
Rémi Verschelde 5 years ago
parent
commit
c9e3009ab8
2 changed files with 13 additions and 2 deletions
  1. BIN
      tutorials/3d/img/add_material.png
  2. 13 2
      tutorials/3d/spatial_material.rst

BIN
tutorials/3d/img/add_material.png


+ 13 - 2
tutorials/3d/spatial_material.rst

@@ -12,8 +12,19 @@ it can be converted to shader code if additional functionality is needed.
 
 This tutorial explains most parameters present in ``SpatialMaterial``.
 
-You can add a ``SpatialMaterial`` to an object by choosing "New SpatialMaterial"
-in the *Material* property of the Inspector.
+There are three 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.
+
+.. image:: img/add_material.png
+
+If you add a material to the mesh itself, every time that mesh is used it will have that
+material. If you add a material to the node using the mesh, the material will only be used
+by that node, it will also override the material property of the mesh. If a material is
+added in the *Material Overrive* property of the node, it will only be used by that node.
+It will also override the regular material property of the node and the material property of
+the mesh.
 
 Flags
 -----