Version: 2021.3
Language : English
Metallic vs. specular workflow
Material parameters

Make a material transparent

To make a material transparent if it uses the Standard ShaderA program that runs on the GPU. More info
See in Glossary
, follow these steps in the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary
window of the material:

  1. Set Rendering Mode to Transparent or Fade.
  2. Select the Albedo swatch to open the Color window.
  3. Set the Alpha (A) slider. A value of 0 means fully transparent, and a value of 1 means fully opaque.
A range of alpha values from 0 to 1
A range of alpha values from 0 to 1

Use a texture to control transparency

If you use a texture for Albedo instead of a color, by default the alpha channel of the texture controls the transparency of the material. A value of 0 in the alpha channel means fully transparent, and a value of 1 means fully opaque. You can use different values to make different areas more or less transparent.

Unity combines the alpha channel of the texture with the alpha value you set in the Color window. For example, if you set the alpha value in the Color window to 0.1, opaque texture pixelsThe smallest unit in a computer image. Pixel size depends on your screen resolution. Pixel lighting is calculated at every screen pixel. More info
See in Glossary
become almost fully transparent.

To check the alpha channel of a texture, follow these steps:

  1. Select the texture in the Project windowA window that shows the contents of your Assets folder (Project tab) More info
    See in Glossary
    .
  2. Go to the texture preview section and select the Alpha (A) button. The preview displays black for 0 and white for 1, with shades of gray between.
An imported texture. On the left, RGB is selected and the texture preview section displays all the texture channels. On the right, A is selected and the texture preview section displays the alpha channel only.
An imported texture. On the left, RGB is selected and the texture preview section displays all the texture channels. On the right, A is selected and the texture preview section displays the alpha channel only.
The window uses a single texture to create a fully opaque window frame, partially transparent windows, and fully transparent gaps.
The window uses a single texture to create a fully opaque window frame, partially transparent windows, and fully transparent gaps.

Refer to Default Import Settings reference for more information about texture transparency settings.

Additional resources

Metallic vs. specular workflow
Material parameters