Making a Glass Material in Unity

James West
Nerd For Tech
Published in
2 min readMay 6, 2021

Creating Transparent Window Effect in Unity

From solid to glass

Creating a basic glass material in Unity could not be easier. Today we will look at how quickly we can actually create one.

A glass material is nothing more than a standard material with a couple of adjustments.

My preferred setup
  1. Right Click in the Hierarchy and choose Create > Material
  2. Inside the inspector set the Rendering Mode to Transparent
  3. Set the Alpha Channel on the Albedo to 0
  4. Now adjust the Metallic and Smoothness to a desirable level (I like 0 on the metallic and 1 on the smoothness).

With that complete we now have a glass transparent material that we can use for glass.

This also gives us a nice little reflection of the skybox on glass material. Adjusting the smoothness to a lower value will reduce the reflection effect.

Sample of the material

Now we can create windows, bottles, and other glass items with ease. Materials and shaders really help elevate the look and feel of our games and while creating materials can be a full time job in itself, it doesn’t hurt to understand the basics.

James West
Nerd For Tech

Turning my passion for video games and 11 years of software development experience into a focus on video game development using Unity3D.