Documentation

Unity Spark

Open Unity Spark

Unity Spark

Create and apply materials

Create a material, make an editable copy of a read-only material, change a material's color and surface in the Inspector window, and assign it to an object in Unity Spark.
Read time 2 minutesLast updated 3 hours ago

Use materials to change the appearance of your objects' surfaces. For how materials and shaders work, refer to Introduction to materials and shaders.

Create a material

To create a material:
  1. Open the Project window (Add Window (+) > Project).
  2. Select the folder you want the material to go into. The folder opens.
  3. Select Create (+) > Material.
Unity Spark adds a material named
New Material
and selects it, so you can rename it.

Edit a read-only material

Built-in materials and materials that come with an imported model are read-only. This means you can't change their properties, such as color or surface type. To change one of these materials, you need to make an editable copy:
  1. Select the object that uses the material.
  2. In the renderer component, expand the material's slot.
  3. Select Edit Material.
Unity Spark creates an editable copy, assigns it to the slot, and adds it to your project. Other objects that use the original material keep it.

Change a material

To change a material:
  1. Select the material in the Project window, or expand its slot in an object's renderer component.
  2. In the Inspector window, select a Shader to set how the surface draws, such as Lit or Unlit.
  3. Change the material's settings, such as Main Color and Main Texture.
For a description of each setting, refer to Material settings reference.

Assign a material to an object

To assign a material to an object:
  1. Select the object in the Hierarchy window.
  2. In the Inspector window, find the renderer component, such as MeshRenderer or SpriteRenderer.
  3. Expand the Materials list.
  4. In the slot you want to change, select the material picker and select a material. You can also drag a material from the Project window onto the slot.
If you select several objects, Unity Spark assigns the material to all of them. If you drag a material onto an object in the Scene view or the Hierarchy window, Unity Spark doesn't assign it.

Additional resources