Make Some Beautiful Glass- Game Dev Series 58

S.J. Jason Liu
Jun 23, 2021


Quick guide: Create transparent window in Unity.

With material, we can make some pretty outlook to gameobjects. Not even a solid color, but also some transparent material.

Create a window

First let’s create a simple window scene.

As you see from the shadow, the light is block by the glass gameobject.

To create a window effect in Unity, we need to change the rendering mode of material from opaque to transparent.

Create a new material and change the rendering mode.

Then assign the glass material to the gameobject that we want to use as a glass.

With this transparent type of material, we can change the alpha(opacity) value to see the effect.

Someone behind the window is visible now.

You can change the color of window as your wish.



S.J. Jason Liu

A passionate gamer whose goal is to work in video game development.

Recommended from Medium


See more recommendations