Make Some Beautiful Glass- Game Dev Series 58

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.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
S.J. Jason Liu

S.J. Jason Liu

99 Followers

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