Material settings reference
Find the settings for materials that use the Lit, Unlit, glTF, Particle, and shader graph shaders in the Unity Spark Inspector window.
Read time 4 minutesLast updated 3 hours ago
When you select a material in the Project window, or expand a material slot in an object's renderer component, the Inspector window displays the material's settings. The settings depend on the material's shader.
For how to create, edit, and assign materials, refer to Create and apply materials.
Shader
Every material has a Shader setting, which decides how the surface draws. The list contains the following shaders:
- Lit and Unlit, which most materials use.
- glTF PBR (Metallic), glTF PBR (Specular), and glTF Unlit, which materials that come with an imported model use.
- Particle (Unlit) and Particle (Lit).
- Any shader graphs that you applied.
If the material is read-only, the Inspector window displays the shader name as text, and you can't change the material's settings. To make an editable copy, refer to Edit a read-only material.
Lit shader settings
Use the Lit shader for surfaces that react to the lights in your scene.
Main settings
Setting | Description |
|---|---|
| Surface | Sets the surface type: Opaque for solid surfaces, or Transparent for surfaces that let light through. |
| Blend Mode | Sets how a transparent surface combines with what's behind it: Alpha, Premultiply, Additive, or Multiply. Available only when Surface is set to Transparent. |
| Alpha Clipping | Cuts out the parts of the surface that are more transparent than the Alpha Cutoff value. |
| Alpha Cutoff | Sets the transparency threshold below which the surface is cut out. Available only when you select Alpha Clipping. |
| Main Color | Sets the color of the surface. |
| Main Texture | Sets an optional texture for the surface. |
| Workflow | Sets how the surface reflects light: Specular or Metallic. |
| Smoothness | Sets how shiny the surface is. |
| Metallic | Sets how metal-like the surface is. |
| Specular Color | Sets the color of the surface's specular reflections. |
Advanced settings
Setting | Description |
|---|---|
| Render Face | Sets which faces of the mesh draw: Both, Back, or Front. |
| Normal Map | Sets a texture that adds surface detail, such as bumps and grooves, without more geometry. |
| Normal Map Scale | Sets the strength of the Normal Map. |
| Emissive | Makes the surface glow. |
| Emission Color | Sets the color of the glow. |
| Emission Intensity | Sets the brightness of the glow. |
| Emission Map | Sets a texture that controls which parts of the surface glow. |
| Specular Map | Sets a texture that controls the specular reflections across the surface. |
| Metallic Map | Sets a texture that controls how metal-like each part of the surface is. |
| Occlusion Map | Sets a texture that darkens areas, such as creases, that receive less light. |
| Occlusion Strength | Sets the strength of the Occlusion Map. |
| Texture > Tiling | Sets how many times the Main Texture repeats across the surface. |
| Texture > Offset | Moves the Main Texture across the surface. |
Unlit shader settings
Use the Unlit shader for surfaces that ignore the lights in your scene and always display their color at full brightness.
Main settings
Setting | Description |
|---|---|
| Surface | Sets the surface type: Opaque for solid surfaces, or Transparent for surfaces that let light through. |
| Blend Mode | Sets how a transparent surface combines with what's behind it: Alpha, Premultiply, Additive, or Multiply. Available only when Surface is set to Transparent. |
| Alpha Clipping | Cuts out the parts of the surface that are more transparent than the Alpha Cutoff value. |
| Alpha Cutoff | Sets the transparency threshold below which the surface is cut out. Available only when you select Alpha Clipping. |
| Main Color | Sets the color of the surface. |
| Main Texture | Sets an optional texture for the surface. |
Advanced settings
Setting | Description |
|---|---|
| Render Face | Sets which faces of the mesh draw: Both, Back, or Front. |
| Texture > Tiling | Sets how many times the Main Texture repeats across the surface. |
| Texture > Offset | Moves the Main Texture across the surface. |
glTF shader settings
Materials that come with an imported glTF model use a glTF shader. These materials are read-only until you make an editable copy.
glTF PBR (Metallic) main settings
Setting | Description |
|---|---|
| Surface | Sets the surface type: Opaque for solid surfaces, or Transparent for surfaces that let light through. |
| Alpha Clipping | Cuts out the parts of the surface that are more transparent than the Alpha Cutoff value. |
| Alpha Cutoff | Sets the transparency threshold below which the surface is cut out. Available only when you select Alpha Clipping. |
| Main Color | Sets the color of the surface. |
| Main Texture | Sets an optional texture for the surface. |
| Roughness | Sets how rough the surface is. Rougher surfaces are less shiny. |
| Metallic | Sets how metal-like the surface is. |
glTF PBR (Specular) main settings
Setting | Description |
|---|---|
| Surface | Sets the surface type: Opaque for solid surfaces, or Transparent for surfaces that let light through. |
| Alpha Clipping | Cuts out the parts of the surface that are more transparent than the Alpha Cutoff value. |
| Alpha Cutoff | Sets the transparency threshold below which the surface is cut out. Available only when you select Alpha Clipping. |
| Main Color | Sets the color of the surface. |
| Main Texture | Sets an optional texture for the surface. |
| Glossiness | Sets how shiny the surface is. |
| Specular | Sets the color of the surface's specular reflections. |
glTF PBR advanced settings
The glTF PBR (Metallic) and glTF PBR (Specular) shaders share the following advanced settings.
Setting | Description |
|---|---|
| Render Face | Sets which faces of the mesh draw: Both, Back, or Front. |
| Normal Map | Sets a texture that adds surface detail, such as bumps and grooves, without more geometry. |
| Emissive | Makes the surface glow. |
| Emission Color | Sets the color of the glow. |
| Emission Intensity | Sets the brightness of the glow. |
| Emission Map | Sets a texture that controls which parts of the surface glow. |
| Roughness Map | Sets a texture that controls how rough and how metal-like each part of the surface is. glTF PBR (Metallic) only. |
| Specular Map | Sets a texture that controls the specular reflections and glossiness across the surface. glTF PBR (Specular) only. |
| Occlusion Map | Sets a texture that darkens areas, such as creases, that receive less light. |
| Occlusion Strength | Sets the strength of the Occlusion Map. |
| Enable Texture Transform | Turns on the Tiling and Offset settings for the material's textures. |
| Tiling | Sets how many times a texture repeats across the surface. Each texture has its own Tiling setting. |
| Offset | Moves a texture across the surface. Each texture has its own Offset setting. |
glTF Unlit main settings
Setting | Description |
|---|---|
| Surface | Sets the surface type: Opaque for solid surfaces, or Transparent for surfaces that let light through. |
| Alpha Clipping | Cuts out the parts of the surface that are more transparent than the Alpha Cutoff value. |
| Alpha Cutoff | Sets the transparency threshold below which the surface is cut out. Available only when you select Alpha Clipping. |
| Main Color | Sets the color of the surface. |
| Main Texture | Sets an optional texture for the surface. |
glTF Unlit advanced settings
Setting | Description |
|---|---|
| Render Face | Sets which faces of the mesh draw: Both, Back, or Front. |
| Enable Texture Transform | Turns on the Tiling and Offset settings for the Main Texture. |
| Texture > Tiling | Sets how many times the Main Texture repeats across the surface. |
| Texture > Offset | Moves the Main Texture across the surface. |
Particle shader settings
Use the Particle (Unlit) and Particle (Lit) shaders for particles. Particle (Lit) reacts to the lights in your scene, and Particle (Unlit) doesn't.
Main settings
Setting | Description |
|---|---|
| Surface | Sets the surface type: Opaque for solid surfaces, or Transparent for surfaces that let light through. |
| Blend Mode | Sets how a transparent surface combines with what's behind it: Alpha, Premultiply, Additive, or Multiply. Available only when Surface is set to Transparent. |
| Preserve Specular | Keeps specular highlights visible on transparent particles. Particle (Lit) only. Available only when Blend Mode is set to Alpha or Additive. |
| Alpha Clipping | Cuts out the parts of the surface that are more transparent than the Alpha Cutoff value. |
| Alpha Cutoff | Sets the transparency threshold below which the surface is cut out. Available only when you select Alpha Clipping. |
| Color Mode | Sets how each particle's color combines with the Main Color: Multiply, Additive, Subtractive, Overlay, Color, or Difference. |
| Main Color | Sets the color of the surface. |
| Main Texture | Sets an optional texture for the surface. |
| Normal Map | Sets a texture that adds surface detail to the particles. Particle (Lit) only. |
| Normal Map Scale | Sets the strength of the Normal Map. Particle (Lit) only. |
| Emission | Makes the surface glow. |
| Emission Color | Sets the color of the glow. |
| Emission Map | Sets a texture that controls which parts of the surface glow. |
Advanced settings
Setting | Description |
|---|---|
| Render Face | Sets which faces of the mesh draw: Both, Back, or Front. |
| Sorting Priority | Sets the order in which transparent materials draw. Materials with a higher value draw on top. |
Shader graph settings
A material that uses a shader graph lists the properties that the graph exposes, in the order the graph defines them. If the graph exposes no properties, the Inspector window displays
No editable properties.To add properties to a shader graph, refer to Create a Shader Graph material.