How to create a glass material in Unity

Without glass, you don’t have windows. And you always have to windows, right?

There you have a beautiful New York city view at night from looking through a window. It’s just a simple material as any.

Create a glass material

  • Create the material by right-clicking in the Project view
    Create -> Material
  • Name it Glass_mat (_mat meaning that it’s material)
  • Set Rendering Mode to Transparent
  • Albedo to white and Alpha value to 0
  • Metallic to 0
  • Smoothness to 0.9

You can change smoothness depending on how much you want the glass to reflect.

Awesome! Now we have a glass material to use where we want! :)

--

--

Janika Suhonen

From the beautiful snowy country with a touch of "good" humor? Inspired Unity Developer to learn more.